Skip to main content
Solved

Close document only for popup/zoom

  • February 24, 2025
  • 2 replies
  • 32 views

rickwenning
Vanguard
Forum|alt.badge.img+1

Hi all,

For a process flow I have a ‘Close document’ action. This will close the popup/zoom when the process flow is executed. However, I can also trigger the process flow when no popup is available. The process action will close the main screen (as the popup is a different variant of this screen).

How can I prevent the process flow of closing the main screen? 

The ‘Open document’ action is in another process flow. Therefore, as far as I know, I cannot use a Document ID.

Kind regards,

Rick

Best answer by Mark Jongeling

Hi Rick,

To my knowledge it's currently not possible to steer which document to close when the document wasn't opened within the same process flow. Would be a great feature to have I think. Feel free to create an idea for this!

You might also like this idea as an extension to this wish:

 

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

2 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3945 replies
  • Answer
  • February 25, 2025

Hi Rick,

To my knowledge it's currently not possible to steer which document to close when the document wasn't opened within the same process flow. Would be a great feature to have I think. Feel free to create an idea for this!

You might also like this idea as an extension to this wish:

 


rickwenning
Vanguard
Forum|alt.badge.img+1
  • Author
  • Vanguard
  • 21 replies
  • February 25, 2025

Hi Mark,

Thanks for the reply. The idea of Arjan covers this subject.

I have created a work around using a task variant. I added a variable to the (original) task I'm using; ‘close_document’ with default value 0 and is assigned to the table. The task variant has value 1 and is assigned to a variant of the table used in the popup. In the process flow, I have enabled process procedure for the task. When close_document = 1, the process step to ‘Close document’ is set to 1 in the procedure.

This way, when the variant task (on the popup screen) is executed, the close document action will be performed. When the original task (on the regular screen) is executed, the close document action is not triggered.

Kind regards


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings