I do not need the popup to be shown with “Terminate Workflow” activity
I have used Try catch and used Throw activity in the catch and the popup is not showing.
But I do not need to move to the next workflow in the main.xaml
Terminate workflow activity is used when you want to terminate ur process, if you want to continue when their is an error why are you using terminate flow activity
I have used flow chart and has done it based on the condition
Using try catch solves the issue of hiding the popup but it still invokes the next workflow in the main.xaml
Basically in your workflow you are saying its hiding the popup of Terminate Workflow but in your case it is never going to terminate workflow activity, its getting faulted in Throw activity that’s why its going to the next steps in Main.
You can debug this and check
See Terminate workflow activity will give the popup, its not from the robot its for the user to provide some information about the end.
I have to invoke two workflows. After executing the first workflow and if it doesn’t satisfy a condition (not any exception) then it has to terminate workflow and should not execute second workflow . And I do not require the “Automatic popup” by Terminate workflow here.
one is put terminate workflow in Workflow one to avoid popup error put try catch for main.xaml
2.otherwise u have to Pass a variable from workflow one …based on u can put decision box in main.xaml(note: variable show continue the 2 workflow or not)
Notes: if u are running from orchestrator u don’t get any Pop Up