Dan Munns Posted June 22, 2018 Share Posted June 22, 2018 Hi all, I have an issue when using variable &[global["flowcode"]["assignedTeam"]] as the authorisation owner for any authorisation task. I set the option to use a variable, select the variable, save and publish the BPM. If I go back to the BPM process list and then reopen the BPM the option to use variable has changed to user > assigned team. This causes the BPM to fail with the error: The specified user 'urn:sys:group:STB/Marketing_and_Business_Development/Marketing_Team/' does not exist Any ideas? Is this because I am trying to set a team as the authorisation owner? I don't want to use a named person sa if there is an issue and the authorisation task needs re assigning and the owner is away it will cause issues. Variables work fine in the Authorisers section, it is just the owner part I cant get to work. Link to comment Share on other sites More sharing options...
Victor Posted June 22, 2018 Share Posted June 22, 2018 Try this: &[global["flowcode"]["assignedTeamId"]] Which is basically this one: Link to comment Share on other sites More sharing options...
Dan Munns Posted June 22, 2018 Author Share Posted June 22, 2018 @Victor no change I’m afraid Link to comment Share on other sites More sharing options...
Victor Posted June 22, 2018 Share Posted June 22, 2018 @Dan Munns right, this should teach me to read properly.... So, the error message says: The specified user ... does not exist So, you cannot have teams as task owner, it needs to be a user. Link to comment Share on other sites More sharing options...
Dan Munns Posted June 22, 2018 Author Share Posted June 22, 2018 @VictorIs there a way of leaving the authorisation owner blank and having a role that allows to you reassign the task? I cant get user variables to work either (Owner or Owner (for tasks)) Link to comment Share on other sites More sharing options...
Dan Munns Posted June 22, 2018 Author Share Posted June 22, 2018 Ok so now this is affecting variable use on other authorisation nodes. I save them as variables (which worked this morning), close and reopen the BPM, have a look and the variable option has changed to user > suspend action or user > assigned team. What is going on?? Link to comment Share on other sites More sharing options...
Dan Munns Posted June 22, 2018 Author Share Posted June 22, 2018 2 hours ago, Dan Munns said: Is there a way of leaving the authorisation owner blank and having a role that allows to you reassign the task? @Victor any ideas on this as variables don't seem to work at all for authorisation owner Link to comment Share on other sites More sharing options...
Victor Posted June 22, 2018 Share Posted June 22, 2018 @Dan Munns the Owner (for tasks) should work. Do you get any error message when using that? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now