Question

service REST - pass param in url and call appropriate activity

I want to pass a param as part of the url and based on the passed in param I need to call different Activity or branch in two different direction within the activity

https://pega.acc.dev.com/prweb/PRRestService/SP/v1/validation/{validationType}

or

https://pega.acc.dev.com/prweb/PRRestService/SP/v1/validation?type=validateRange

if

-validationType is validateRange then call ValidateRangeActivity

else

-validationType is validateUnit then call ValidateUnitActivity

Comments

Keep up to date on this post and subscribe to comments