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.
To see attachments, please log in.