Question

6
Replies
1679
Views
Febby Oommen (FebbyO69)
Bank of America

Bank of America
IN
FebbyO69 Member since 2014 1 post
Bank of America
Posted: June 6, 2017
Last activity: June 23, 2017
Posted: 6 Jun 2017 5:42 EDT
Last activity: 23 Jun 2017 10:40 EDT
Closed

Parameters to be passed along with jump to later steps

Today pega behaves like below. If I have to provide various message for different authtypes, I need to add multiple steps (property-set) like below.

In the step when condition,
when Authcode=='001', jump to later step - DO1
when Authcode=='002', jump to later step - DO2

DO1 Property-set
Set MessageCode='Authcode:001'
Set MessageDesc="Processed By Iseries"
DO2 Property-set
Set MessageCode='Authcode:002'
Set MessageDesc="Processed By AI"

My expectation is below

In the step when condition,
when Authcode=='001', jump to later step - DO1(param1=(Authcode), param2=(AuthMessage))
when Authcode=='002', jump to later step - DO1(param1=(Authcode), param2=(AuthMessage))

DO1 Property-set
Set MessageCode=param1 (001/002)
Set MessageDesc=Param2 ("Processed By Iseries" / "Processed By AI")

The advantage is avoiding multiple steps and returning the value to the user from a single step.

Enterprise Application Development Dev/Designer Studio
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.