Skip to main content

Hello,

 

I wanted to check to see if it was possible to grant a permission set to a user via workflow? I’ve been trying to automate a user creation when a new employee gets created (got the initial account setup and was able to assign the default company and site) but I was exploring some of the permission set calls. I was looking at a call called GrantUsers(Role,Grantees):Void. When I was using that call, I was running into errors regarding BPA Workflow error: Cannot commit in Current PL/SQL Session. I’m guessing it may not be possible to do this at this time via workflow? Maybe there’s another approach I need to look at this. I just want to confirm. I’m currently using IFS Cloud 24.2.4. Thank you.

 

Thanks,

Jay 

One option is to use a REST Call to use the projection “Async” which is a dirty hack but it circumvents the issue with the “cannot commit? error. 
 


Otherwise a custom event sql action, still a magic tool which in the current state of workflows should never disappear :-) 

 

 

Reply