Notifications

4 views

Description

Demand not changing State back to Draft from another State for a certain user. An error of "Demands selected for execution cannot be reset to Draft state" is thrown.

Cause

The user did not have the proper "demand_manager" role. 

Resolution

The error of "Demands selected for execution cannot be reset to Draft state" comes from the "Move Demand to Draft" Business Rule.
When the user fails the "DemandDraft" Script Include's "canResetToDraft" method, the State will not be changed.

The affected user was unable to change the State of the Demands because he does not have the "demand_manager" role.

Next Steps:

  1. Navigate to User Administration > Users
  2. Search for the affected user and go to the record
  3. In the Roles related list click "Edit..."
  4. Add the proper "demand_manager" role
  5. Make sure the other conditions pass on the DemandDraft" Script Include's "canResetToDraft" method.

Article Information

Last Updated:2019-10-02 07:19:37
Published:2019-10-02