Passing parameter(s) to trigger flow

Sort:
You are not authorized to post a reply.
Author
Messages
PD
Veteran Member
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
    Posts: 468
    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
      Posts: 58
      Veteran Member
        Ok Thanks Ragu, I will take a look
        You are not authorized to post a reply.