Berto2002 Posted November 12, 2021 Posted November 12, 2021 I have created a workflow to add Roles to Hornbill Users and that works. I then tried to add the user to a Team but that is failing. Is it possible to add Users to Teams using workflow and if so how? This is the PCF capture of the team using the lookup: This is the workflow node that takes that PCF output and attempts to add the user. It fails on both Raw and Display values. The node that posts the found teams to the Timeline and then the nodes that record the Outcome on the Timeline of the node above shows this:
Berto2002 Posted November 29, 2021 Author Posted November 29, 2021 Has anyone else had experience of trying to add users to teams?
Berto2002 Posted January 12, 2022 Author Posted January 12, 2022 In fact, the functionality of adding Users to any of the Organisation Groups does not appear to be working for me. I have this workflow: The AddSubscriber Cloud Automation works to add the User to Active Directory in Azure. My Add User to Subscriber Group is configured thus. The blacked bit is the Name of the Organisation but it happens to be an email address and I redact those: The UserID variable above is the outcome of an Automation node to extract the UserID from the fully-resolved User Name: &[global["flowcoderefs"]["stringUtilsRegexSubstr"]["result"]] - this works in the Cloud node so I know this is successful at turning "FirstName Surname (firstnamesurname@ourdomain.gov.uk)" to "firstnamesurname@ourdomain.gov.uk". The result is "Outcome of Add User to Subscriber Group: failed" from the Add to Timeline node. The only issue I can perceive here is that when I select "Manual" for the Member Role, there is no lookup of available Member Roles so I needed to select Variable and enter "Member" which is the option I want. The workflow also fails if we leave this as 'Ignore'. I suspect there is a defect somewhere here but for now this is out there in case I have made a config error. Thanks in advance for help/advice/experience in adding Users to Organisations. @Deen
Steve Giller Posted January 12, 2022 Posted January 12, 2022 Not a node I'm familiar with, but I'm fairly sure that Member Role should be a number. *Edit* In fact, Users are Core functionality. If you set the Application to the correct value (Core) you will be able to use the dropdown.
Victor Posted January 12, 2022 Posted January 12, 2022 @Berto2002 If you are using the team name for Organisation param, iirc, it won't work (the value that you have in the PCF answer being the team name). Try with the Team ID (Org ID), if is not working we can try with the Org URN. Similar discussion here:
Berto2002 Posted January 13, 2022 Author Posted January 13, 2022 16 hours ago, Steve Giller said: Not a node I'm familiar with, but I'm fairly sure that Member Role should be a number. *Edit* In fact, Users are Core functionality. If you set the Application to the correct value (Core) you will be able to use the dropdown. @Steve Giller that was what I was missing. Core. It now works, thank you. So what is the functionality for that I was attempting to use? Presumably if that is not how to add users then the options should be removed? 1
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