Output Parameter - Link Event

Hi Camunda users,

I noticed that if I set an Output Parameter on a user task, on its completion, a process variable is created. E.g. capture the reason of why a user task has timed out.

I am interested if possible to achieve the same on a Throw Link Event (without a script/service task that creates the variable - I already have this working) just by setting an Output Parameter.
This would simplify my diagram that has a lot of paralel tasks…

See simplified image attached.

I would then be able to use the value of the variable on to log some info on why a process has timed out.

Or, if I am making any grave error in my diagram, total newbie here.

Edited to upload image

Hi Cam welcome to the forum,

Link event works like a “Go To” so all the variables should be available in the catch event.
Link Events | docs.camunda.org .

Check this:
LinkEvent.bpmn (4.7 KB)

Give a try and let us know :wink:

1 Like

Dear MSL, thank you for the reply.

Maybe I am not asking the right question. I am already using your suggestion like I said in my original post. I was just curious if my defining output parameters on a throw link event I can update/create a process variable.

From my tests, it doesn’t look like it’s possible (like it did for a User Task with an Output Parameter) so, I will just close my question.

Thank you again for the time and complete answer.