Where can I get the query parameters when using a triggered task?
Hello all,
I created a triggered task, and the system triggering the task sends a couple of query parameters that I need to use for the task.
Can someone tell me how I can get the values passed as query strings when the task was triggered by the URL?
Thanks a lot in advance!
JF
1) You can define the parameters(the ones that are expected to be sent by the system) in the pipeline properties, and access the parameters with "_" and the name of the parameter. ex: _param1.
2) You can access all the parameters with the QUERY_STRING argument.
ex: _QUERY_STRING
The result is string containing all the parameters sent by the system. ex: "test=value&test1=value1".
So, probably you will need to utilize some of the string functions in order to get/extract the parameters.