Question
1
Replies
256
Views
Naveenchary_Viswanadhula@syntelinc.com
Posted: March 22, 2017
Last activity: March 23, 2017
Closed
Trigger Activity Restrictions
From Pega Help
Use of Trigger
activities is recommended and avoids a warning condition reported when you save this rule. You can type in the name of an existing activity of another Activity Type, but the activity must conform to these restrictions:
- The activity cannot itself commit database transactions, because a triggered activity runs during database commits. - is this to avoid locking, infinite loop and override issues?
- Preconditions and transitions in the activity cannot use when condition rules and cannot call functions.
Can anybody help me in understanding the restrictions here.
Hello
For the first one, yes it is enforced because we want to avoid the locking situation.