What is the the use of "isolated" property of invoke workflow

Hi all,
I am unable to get exact use of “isolated” property of invoke workflow, please help with an example

Hi @kalv

See here

image

You can create workflows using the web in which do some stuff in the main workflow with a website and do some more stuff in the invoked workflow on the same website and checked the Isolated property checked

image

Above image is an simple example

  • Create a workflow main which will Type something in google search bar
  • Create a separate workflow which will Type something else in same textbox
  • Above workflow will be invoked in main with Isolated as checked and then main workflow will give a message box “done”
  • The workflow which has been invoked, create some error in the selector of Type activity and run the main workflow
  • It will run without errors

Thanks,
Prankur

2 Likes

I am not able to understand this ? will you please explain again this only !!!

Hi
Thanks for reply, but i am unable to get the example, could you please elaborate more.
In which situation we can use this property, benefits of using it.

If I’m understanding correctly, this would have a similar effect if you were to surround the invoke with a trycatch and no activities in the catch - an error would be caught, but nothing would happen and the process would continue.

Scenario:
You have one a large process, where one specific part frequently throws and error, but the error is minor and you are happy to pass over it when it occurs (not sure why!). Put only this section into an isolated invoke workflow, and if the task errors, it will not pass the exception up beyond the invoke (it is in effect ‘isolated’ to the smaller workflow), therefore allowing the full workflow to continue, effectively just ignoring the error in that section.

@PrankurJoshi - is this what you are saying?

If this is the case, I would prefer to surround the invoke in a trycatch instead of using the isolate function, this way you have the option of doing something if the error occurs by using the catch of the trycatch (i.e. find the info elsewhere, or make a note in the status of the transaction that that element had failed)

3 Likes

Agree with you! :slight_smile: is there any other use of using the isolated property of invoke workflow you have come across?

I can’t see why to be honest, if you are so certain that you want to ignore a very specific error, I would set the ‘ContinueOnError’ property of the activity itself to true, that was it will only ignore that one error, but catch others you may not know about

Hey guys,

One of the helpful cases is like using Isolated within Parallel scope to monitor for some unexpected popups while not affecting the actual process.

Sample scenario for this could be unexpected javascript popups while filling out a web form which can be very annoying.

Here you can use Isolated activity as a listener which will never interrupt your actual process when it fails.

Below is a screenshot explaining the case

Thanks…