Try Catch Problem in REF

Hello,

I’ve created a REF project and I want to send an e-mail to send a report after all transactions but at this point, I’m encountering a problem. As you see in the screenshots, I cannot add another activity or workflow in TRY block except existing one which is “Close All Applications”. If I see “plus sign”, I rounded it with blue circle, if I don’t with red circle. If I see “plus” signs before and after existing workflow in TRY block, I can add another activity but if I don’t see it, I cannot add another activity. I showed it for Initialization and Process as well. In Process there are nested Try Catch. While I can see “plus sign” in outer Try Catch, I can’t see it in inner Try Catch as well.

I saw another people’s End Process and I noticed that they can see “plus sign” before and after “Close All Applications” workflow, so they are able to add another workflow to send e-mail but I’m not able to do it. How can I solve it?

I appreciate your help in advance.

Hi @Sekoleyte
The simplest walkaround for this scenario would be, add a sequence
activity first and then call the workflow, in that case you can add multiple activities or call workflows within the sequence. Then you can add the “Try” and “Catch” block around that.

Hope this helps
Happy Learning

Hi!

Highlight your “Invoke CloseAllApplications” press CTRL+X to cut it out, there should now be a plus-sign there. Drag in a “sequence” activity and paste your “Invoke CloseAllApplications” back in :slight_smile:

@Sekoleyte

Same thing faced when i developing the process,
to get out of from this, you just take copy or move to another place out of try block and drage sequence activity inside of block and then paste or move you invoke workflow/activities inside of sequence

1 Like

Adding sequence like in SS, we can do it but why does REF structure doesn’t let me do it simply? I’m adding another sequence here then drag “Close All Applications” to in it, then move all the sequence in TRY block again. But I saw other people add a few workflows in TRY block without adding extra sequence. Idk why my REF is like this.

If you don’t add another sequence, you’re not able to cut to move the workflow. Even after adding another sequence, it doesn’t let you cut but dragging it another sequence works.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.