Passing parameter(s) to trigger flow

 2 Replies
 1 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
PD
Veteran Member Send Private Message
Posts: 58
Veteran Member

I have a flow that I am able to trigger using a service via a button object in Mingle.

Now I need an example on how to pass parameter from a text object down to the flow where the user will input data. I have the flow with Config parameters and the text input will be used for one of those parameters.

I am just not sure how to link all three: the DS form to the service variable to the Config parameter.

 

 see attached files

Thanks

Attachments
Ragu Raghavan
Veteran Member Send Private Message
Posts: 477
Veteran Member
I just do an AGS call to WFWK and pass the variables. Here is an example of a WFWK call that kicks off a service LOAESTRET and pass 2 variables: Company and Employee. In the flow you can reference these variables. var s = portalWnd.AGSPath; s += "?_PDL="; s += portalWnd.oUserProfile.getAttribute("productline"); s += "&_TKN=WFWK.1&_EVT=ADD&_RTN=DATA&_LFN=ALL&_TDS=IGNORE"; s += "&FC=A&SERVICE=LOAESTRET&WORK-TITLE=LP51ESTRET"; s += "&VARIABLE-NAMEr0=Company"; s += "&VARIABLE-VALUEr0=" + vCompany; s += "&VARIABLE-NAMEr1=Employee"; s += "&VARIABLE-VALUEr1=" + vEmployee; s += "&_DELIM=%09&_OUT=XML&_EOT=TRUE"; var sAGSInfo = portalWnd.httpRequest(s);
PD
Veteran Member Send Private Message
Posts: 58
Veteran Member
Ok Thanks Ragu, I will take a look