I tried to create a process trigger scope activity and is working as expected from studio but when i try to publish the same I am getting below error.
To confirm the issue is caused by Trigger Scope I removed that activity and published and no issues then. The workflow doesn’t has many functions or activities
I tried with other triggers as well but I have the same issue. Its working when executed from Studio but not able to publish. This given trigger also is working from studio, issue is when I’m trying to publish.
Would you mind attaching a zip of a dummy project that reproduces this issue, together with the information about the Studio version that you are using?
Sure i will do that, i just don’t have access to machine right now. Anyhow the project doesn’t contain any other activity only the one shown in that screenshot. Also for this one i used the community version.
I can confirm that this will be fixed in the next Studio patch 23.10.1.
As a temporary workaround, and if your process supports it, one can use the local trigger standalone outside of the trigger scope (this is valid for local triggers only).
I think I found a solution: take your main xaml (or the one which is the entrypoint) and call it by a new xaml with invoke Workflowfile and make this as your new entry point. Then no problem to publish.
It definitely works! And it solves the Trigger Scope bug that for some reason still persists in UiPath 24.10.1. I don’t know if this is the same bug, or if a similar bug was just reintroduced, but nonetheless, this solution works here as well