Skip to main content
7-Bedrock
November 18, 2024
Question

How to Enable confirmation pop-up while Reject the task in worflow?

  • November 18, 2024
  • 2 replies
  • 612 views
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.6

We want to enable confirmation pop-up (OK or CANCEL) by selecting reject routing option in workflow.

Here are the errors that I faced
How to enable confirmation pop-up instead of warning message?

    2 replies

    24-Ruby III
    November 18, 2024

    Article - "How to display a confirmation popup at the end of a customized wizard rather than an Inline Message in Windchill": https://www.ptc.com/en/support/article/CS151142 

    HelesicPetr
    22-Sapphire II
    22-Sapphire II
    December 2, 2024

    Hi @vshanmugam 

    You can use the Article CS44140 to add an alert for the complete task button.

    Instead of alert I recommend to use a confirm("Do you want to continue ?"); 

    next you can use also js functions to get the page information what has been selected so you can put a condition if the confirm message should be shown or not.

    here is an example how to use the confirm function How to use JavaScript to show a confirm message.

     

    PetrH