Support Article
Create work action on menu not passing param.InsClass and fails
SA-28852
Summary
When the Create Work action within an action set of a Navigation rule is applied, the parameters passed to the action(Create Work) cannot be dynamically updated by prior actions within the same action set (such as data transform).
For example, when a data transform is used to update a data page property, the updates are not reflected in the values passed to the Create Work action.
Error Messages
Not Applicable
Steps to Reproduce
- Create a Navigation rule.
- Add an item with the action set of "Click" and name it "Create Work."
- Set the parameters as properties through a data transform.
- Engage the rule at run time and observe that the updated values are not passed to the Create Work call.
Root Cause
An issue in the custom application code or rules
Resolution
Here’s the explanation for the reported behavior:
The values of the parameters passed to an action within a Navigation rule are determined when the control is initially displayed. Therefore, one event in a Navigation rule's action set cannot affect the parameters passed to another event. The parameter condition must be in place prior to the rendering of the control.
Users must correct the design so that the information is configured prior to the navigation control's load.
Published July 26, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.