Run script does not clear action queues
Run script does not clear action queues.
Steps to Reproduce
Configure a button with the following actions:
- Run Activity - To set a value to a property
- Run Script - To clear the queue (pega.control.actionSequencer.ClearQueue()) with a parameter value set in the activity
- Local Action
An issue in the custom application code or rules.
Typo (casing issue) in the API used.
Perform the following local-change:
Modify the below
Side-effects of using the API:
- Stop some default actions already in the pipeline
- Memory leaks
Alternatively, perform the following:
- Mark the property '.p1' as Hidden text. This property is used in the When condition during the design time.
- On click of button, use the below actions:
- Set Value to set the property value.
- Local action with a When condition.