Hi @dustin_arp,
It is possible to run a workflow using a service user with a REST api call. Please check my blog post on how to do that.
Start IFS Cloud Workflow using REST API – DSJ's Blog
Hope it helps!
Damith
@dustin_arp ,
Not really on how to deal with it, but to let you know for the future.
I've had to deal with the same issue and have fought hard with IFS to get some solution.
From 25R1 the design has been changed so workflows can be granted to permission sets.
Meaning if you just create a basic permission set which is part of all permission sets with all workflows attached, any workflow should be able to run without any issues.
@dsj
My problem is that that we have workflows attached to buttons on the shop floor workbench for our labels and other process that can’t be used by an LTU user because you can’t add workflows or additional projections to their permission set. Didn’t know if there was something in the workflow settings or elsewhere to set these to run with a service user inside cloud.
@dsj
My problem is that that we have workflows attached to buttons on the shop floor workbench for our labels and other process that can’t be used by an LTU user because you can’t add workflows or additional projections to their permission set. Didn’t know if there was something in the workflow settings or elsewhere to set these to run with a service user inside cloud.
Unfortunately there’s no setting with the workflow to run as a service user.
Since LTU users cannot add additional permission sets, running a workflow might not be possible in my opinion (recommend to check with IFS support to confirm that)
However, I’m not sure if the permission is checked when a workflow runs via a custom event. Instead of a custom command, can you attach the workflow execution on some field/status change in workbench to see if it’s possible?
/Damith