on ‎2010 Nov 08 8:53 PM
Hey All,
I have a transaction that has an input parameter of type Map.
My question is what is the format I have to pass to the transaction through an xacute query.
I've tried
Key=[string:Value]Any help would be appreciated.
Jasper
Edited by: Jasper Vander Velden on Nov 8, 2010 9:54 PM
Request clarification before answering.
I created a test transaction and xacute query. It returned me this:
{TEST2=[double:3.0], TEST=[string:001]}But when I pass that string back and try and get the values they don't exist.
I have a program that prints crystal reports. This program requires dynamic parameters based on the report being printed, 1 - n number of parameters. So I figure if I pass in a map of the parameter name and parameter value to a transaction I can easily use these values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jasper,
This worked for me, give it a try and let me know. Obviously, substitute your own key/value pairs I added a Tracer inside the transaction, and this is the format that was display in the Tracer Message.
{myInt=[[integer:22]], myString=[[string:burp]]}
Pardon all my edits, for some reason, the brackets weren't showing, should be brackets around integer:22 and string:burp
I think I got it fixed!
Kind Regards,
Diana
Edited by: Diana Hoppe on Nov 8, 2010 6:10 PM
Edited by: Diana Hoppe on Nov 8, 2010 6:11 PM
Edited by: Diana Hoppe on Nov 8, 2010 6:11 PM
Edited by: Diana Hoppe on Nov 8, 2010 6:12 PM
Edited by: Diana Hoppe on Nov 8, 2010 6:14 PM
Thanks Diana I played around with it a little more and you don't need the square brackets if it's only a string but to specify the type it has to be enclosed in the square brackets.
Jasper
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create an output property of map and see what the result is when called from another transaction using a tracer to display the property in each of the two transactions. That should give you the format (and it should be the same in both).
Why are you using a map datatype as an input? (for my own curiosity).
Regards,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.