Forum Discussion

jfpelletier's avatar
jfpelletier
Contributor
2 years ago
Solved

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 ...
  • SpiroTaleski's avatar
    2 years ago

    jfpelletier 

    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.