Post approval edits on Journal workflow

Scenario: The client wants the journal to go through approval routine, if the admin edits the journal after approval. i.e. Administrator edits trigger re-approval and JE is unposted until re-approved. The journal contains a review state. Reviewed journals will be submitted for approval by admin. If they are approved by admin it should go to approved state. If the approved journals are edited again, then it should go for re-approval.

States: Review -> Pending approval->Approved. If edited after approval, the journals should go back to review state

Issue: The journal goes from pending approval to review state even if the journal is not edited.

Solution:

This issue can be resolved based on a condition that differentiates the approved journals from that of the journals in review state. Here, it is based on a checkbox ‘review’.

On Approved state, before user submit trigger, set field value review=F.

On transition from approved to review state, set ‘Transition on’ to ‘After Record submit’ and give the condition (here, review=F)

Now the journals will be in approved state on clicking approve button and it will go on to review state only if the journals are edited by admin after approval.

Leave a comment

Your email address will not be published. Required fields are marked *