Announcement

Collapse
No announcement yet.

Workflow Button- Customize pop-up "Are you sure?"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Workflow Button- Customize pop-up "Are you sure?"

    Hi Everyone,

    When I create a button in the advanced pack/ workflows, I would like to change the wording on the pop-up message. It currently says, "Are you sure," yes or no. See attached screen shot.

    Can I change the message from "Are you sure?" to something else? Can I do this for a specific button or will it change the pop-up message on all workflow buttons? Thanks everyone.

  • #2
    I don't think you can customize Workflow buttons popup.

    What I would do is create a custom button https://docs.espocrm.com/development/custom-buttons/ with a confirmation dialog https://docs.espocrm.com/development/confirm-dialog/ and call the workflow using api, shouldn't be that hard to code

    From this topic:
    For manual workflow trigger type:

    POST api/v1/WorkflowManual/action/run

    Code:
    {
    "id": "workflow-record-ID",
    "targetId": "target-record-ID"
    }​
    Last edited by Kharg; 08-07-2023, 07:47 PM.

    Comment

    Working...
    X