A Place for Sharing and Inspiration

Total Pageviews

Thursday, September 23, 2021

Tip-How does Case Resolution Dialog interact with the Case record and the Business Process flow


The Fact

When resolving a case record, the user will normally click on the "Resolve Case" button on the ribbon, which will trigger the Case Resolution Dialog box to open.

image-20210923162001625

image-20210923160659531

After capturing the additional details and resolving the case (by clicking on Save & Close) from the Case Resolution Dialog, the case will show up like below screen shot.

The Case record has been marked as:

  1. Status: resolved
  2. Status reason: problem solved

The Business Process flow entity called Test BPF for case has been marked as:

  1. Status: inactive
  2. Status reason: aborted

image-20210923161047436

Question

Users also try to use the workflow to move the stage of the Business Process flow back and forth automatically through the classic workflow right after clicking on that "Resolve Case" button on the ribbon. is it possible?

so just for testing purpose, a workflow called "Resolve case Auto BPF stage movement" is created as below snap shot shown for the Business Process flow entity called "Test BPF for case".

image-20210923154613657

then we need to click on that View item beside Process changes to configure the trigger. If the Status Reason under the related Case record is changed or updated, the workflow will be triggered (refer to below screen shot).

image-20210923163104390

the condition is set up as below screen shot shown.

image-20210923155402104

then, after we click on the "Resolve Case" button on the ribbon, then the case will be resolved and the Status reason of the case will be changed to Problem Solved, meanwhile, this workflow will be triggered as well. after that, we will see Message "Invalid stage transition. Stage transition is not allowed on inactive processes." , and the result should be like below screen shot shown, which means the Business Process flow record was marked as inactive at the same time, when the case record was resolved via Case Resolution Dialog. after that, when the workflow is triggered and try to update the business process flow record again, it will fail.

image-20210923165837531

Another scenario

Resolve case via 1st workflow + update the stage of BPF via 2nd workflow

If we use a workflow to resolve the case, then we will be able to use another workflow to move the stage of the BPF record back and forth, which means resolving the case through workflow is totally different from clicking on that "Resolve Case" button on the ribbon

below is an example for resolving the case through workflow.

image-20210923195139890

then, you will be able to use the existing workflow Resolve case Auto BPF stage movement to automatically update the stage of a Business Process Flow.

0 comments:

Post a Comment