Skip to main content
Question

Workflow BPA through service user


Forum|alt.badge.img+4

Is there a way to run a workflow through a service user? Or some other way to simulate specific permissions? 

 

We are dealing with the nightmare that is LTU permission sets. Now our custom workflow label process doesn’t work because the label list with expected incoming/outgoing parms to Bartender is a custom projection. Also the LTU can’t get extra info from InventoryPartHandling or ShopOrderHandling for labels.

4 replies

dsj
Superhero (Partner)
Forum|alt.badge.img+22
  • Superhero (Partner)
  • 844 replies
  • March 25, 2025

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


Forum|alt.badge.img+10
  • Hero (Customer)
  • 84 replies
  • March 26, 2025

@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.


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Customer)
  • 9 replies
  • March 26, 2025

@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
Superhero (Partner)
Forum|alt.badge.img+22
  • Superhero (Partner)
  • 844 replies
  • March 26, 2025
dustin_arp wrote:

@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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings