Pass Parameter to IPA flow in URL

 5 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Gene B.
Basic Member
Posts: 12
Basic Member
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!

I have an IPA flow that funs a particular IA120 job then ftp's the files to our Essbase server. I am trying to pass a parameter in the URL in order to set up multiple URL's with different parameters to submit different IA120 jobs. The issue is that while the variable does seem to be recognized in Designer its use returns an Error Evaluating Expression error.

 

The URL is: https://lmkprod.chsli.org...]=IA120FComplete

Is this the correct format to pass a parameter? The variable was defined in the service definition and the trigger. The variable name is "IA120Job"

 

 

 

John Henley
Posts: 3363
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
Since you're trying to trigger a defined service, try changing &triggerType=ProcessAsync to &triggerType=ServiceAsync, and make sure triggerName= is the name of the service.
Thanks for using the LawsonGuru.com forums!
John
Gene B.
Basic Member
Posts: 12
Basic Member
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
I changed the URL. It did run the flow as well but still the same error.

https://lmkprod.chsli.org...]=IA120FComplete
Gene B.
Basic Member
Posts: 12
Basic Member
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
If I manually create the service variable in the workunit in process server admin and restart that same workunit it works. Without doing that no variables appear in the variables tab of the workunit display.
John Henley
Posts: 3363
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
how are you invoking the URL itself? the examples with &varName\[0\] are regex-type escaping, rather than URL encoding, so try this:
https://lmkprod.chsli.org...B0%5D=IA120FComplete
Thanks for using the LawsonGuru.com forums!
John
Gene B.
Basic Member
Posts: 12
Basic Member
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
That was it. Thank You!