Jump to content

Trying to automate Hornbill User set-up; can I add Users to Teams?


Recommended Posts

Posted

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:

image.thumb.png.979d1191b5512020df88d730d8173a5e.png

This is the workflow node that takes that PCF output and attempts to add the user. It fails on both Raw and Display values.

image.png.73cf65b3764e6381f17e4421b9b1fdbe.png

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:

image.thumb.png.8c9782da7678571276957dd4133d8d65.png

  • 3 weeks later...
  • 1 month later...
Posted

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:

image.thumb.png.c42599e19923dffd87c34b5f2ecac100.png

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:

image.thumb.png.b8fa0fc2bee54aebf479b1678d75ba8d.png

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

Posted

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.

image.png

Posted

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

 

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

image.png

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

image.png.5e55b4856968a840b039d476483d0ba5.png

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...