workflow should be completed after clicking on a button

Hi,

Kindly someone help me on the below.

After clicking on a approval button the flow should go to the end stage directly.

@Ramac16969396 please check 6th step in the below url.. You can configure change stage if approved. In change stage you can configure last stage.

Change stage in approval shape

@Anoop Krishna

HI

Here my Approval button(actually “Done”) is a custom button which is created in a section.

I have created an activity and used pxChangeStage and choose button onclick event and added an action Refresh this section - here given my activity.

But whole process is not working. Please help on this.

@Ramac16969396 please keep Finish assign action after first refresh this section and try once.

Hi @Ramac16969396,

As per understanding configure pxForceCaseClose ootb activity on approval button event “On Click” refresh.

Thanks,

Mohd Qizer Uddin

@Anoop Krishna HI,

Can you please explain in detail.

Thanks in advance.

Hi @Ramac16969396,

If you are using an customized button to close the flow:

  • We need to finish the assignment to continue the flow, so we are using Finish Assignment event action in button.
  • In Flow next step to this step add an decision shape to decide whether will continue the existing flow or move to alternate flow(End the case action)
  • Change stage shape is used to change the stage irrespective of whether we are in current case.

By adding finish assignment action in button and decision based change stage in shape flow will change the flow accordingly.

Thanks.

@DhanasekarC0202 Thank you.