Question
1
Replies
1183
Views
Crochet Technologies
Posted: February 16, 2018
Last activity: August 26, 2020
How to call a WhenRule from an Activity.
Hello.
I want to call a WhenRule from the Activity just like we call DecisionTable with the help of Property-Map-DecisionTable method. But I'm not able to find the similar method for the WhenRule.
Thanks.
Hi Rakesh,
Thanks for posting on PSC.
I feel you could achieve your requirement by two ways:-
- Create a custom function, having the logic of "When" rule that returns a boolean value. This function could be invoked from the activity.
- Alternatively, have you tried using "When" as below:-
Please share your business requirement, like what you want to achieve for my understanding.
Hope above suggestion helps you. Kindly notify if it does.
Regards,
Asif