Getting sequence name in c# custom activity

Hi all,

i have a question. I’m creating an custom activity in c#. I would like to retrieve the name of the sequence who started the custom workflow.

For example if the sequence name in UIPath is MySequence i would like to get this name in my custom activity. I know i can use a input argument, but i want to have as few arguments as possible.

Hopefully this description is clear and you can point me to the right direction.


I’m not sure there would be a way to do it quite like that bt perhaps you could make a custom scope to put your activities in? You could parse information in that way.