Close popover
Sandeep Roy (SandeepR6448)
De Lage Landen Financial Services

De Lage Landen Financial Services
SandeepR6448 Member since 2015 9 posts
De Lage Landen Financial Services
Posted: July 28, 2016
Last activity: July 28, 2016

How can I open assignment conditionally on click of a button?

We have a requirement for a "Search and Open" functionality where user enters a case id in a text box and clicks on a button labelled 'Open'. If the case exists and is not resolved, the current assignment for the case will open directly in perform mode. Otherwise appropriate message will be displayed.

Initially, we had used the 'Run Activity' action to run an activity to search for the case, check the status and search for the assignment for the case. Then the 'Open Assignment' action was used to open the assignment in perform mode. But the problem with this is that if in the activity we find that the case does not exist or is resolved, the process is still going to the 'Open Assignment' action and throwing an error saying 'Empty Assignment'.

Is there a way to stop the 'Open assignment' action from getting triggered based on the result of the activity?

***Updated by Moderator: Marissa to update categories***

Low-Code App Development User Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.