Running a flow on form close

Running a flow on form close

Comments

  • Hi,

    I have a form that has a data flow that runs on startup. It sets a few variables on the extension data of a process folder. I was wondering if there is a way to either have an outcome path for if the "X" in the upper right hand corner is used to exit the form or if I can have a data flow run when the form is closed via the "X"

    Thanks

  • Hi,

    The build-in close (X) button on a form does not provide an outcome path or cannot be used as a trigger for a data flow. However, you can place a standard button on the form and set its behavior to Cancel. Pressing this button will complete the flow on the cancel path and none of the form data will proceed. The button will behave like Close button. In addition to that, you can hide form title. If you hide from title, the user will not be able to see or use (X) close button. That way you can force the user to select either submit or cancel buttons.

    Please check the attached screenshots and project for reference.

    Regards

    [img]att1[/img]

    [img]att2[/img]

    [img]att3[/img]

Sign In or Register to comment.