Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Note |
---|
💡 INTERNAL ONLY - DOT NOT SHARE WITH CUSTOMERS |
Problem
Customer wants to have a Workflow solution where if 2 people are entered as reviewers, one releases, the other does not, then the status of the page should return to draft.
Issue :
when When there are TWO DIFFERENT APPROVERS in THE SAME STATE,
the state will not go back to the Draft state.
Solution
To suit customer use case, they need to use partial=true option.
When we use partial=true option in the trigger and set-state macro when one user rejects it, the page will transition to Draft state.
Info |
---|
Note The By default, the trigger will only activate once all reviewers have agreed to Approve or Reject the content. To activate it for each individual Approve or Reject, set For simple state transitions, you can also use the Macros: approval, state, approve-page, reject-page, approve-children, reject-children |
Howto :
Enable the "partial=true" option, and then establish the desired document state following a rejection.
Code Block {trigger:pagerejected|approval=Review|partial=true} {set-state:Draft} {trigger}