Jump to content

Human Task Variable - assign call


Recommended Posts

I have a Human task that contains a checklist and also uses capture task fields

fieldcapture.PNG.819030f266c441cb2c3216e34136b841.PNG

The next automated task users this variable to assign the request

teamassign.thumb.PNG.845da4068e7eec063d92acfd3bdfe41c.PNG

&[functions.getTaskAnswers("task-c80f9bbe").TeamAssignment]

however this doesn't do anything. Any suggestions?

Link to comment
Share on other sites

@Kelvin it would appear the team picker output value is the full URN value - something like this urn:sys:group:ChangeManagement 

The assign to team (variable) option, you are trying to use is expecting just the team name - i.e Change Management

So this will be why the assignment is not working for you.

I've asked the question internally as too the expected behaviour of these options, but in the meantime you could do one of the following:

* Create a static list of the team names in the task question - and inject this answer into the assign to team (variable) field

* Create a simple list of the team names, and use this in a dynamic list picker type in the task question, and again inject the answer into the assign to team (variable) field.

 

  • Thanks 1
Link to comment
Share on other sites

Morning @Kelvin

Just a little update here. 

You can currently achieve what you want using the team picker, however it does involve using a few extra nodes, to get the team name from the URN Value.  

After you have got your task :

1. Use the the following node

image.png

Input your task custom question answer into the input text field as a variable and set the from to 14 - this will remove the first 14 characters from the URN value, and this will give you the teamid value.

2. You now need to get the team name using the teamid, so to get this use the Collaboration > Application > Get Organisation Details node and in the ID field, use the variable picker to inject the RESULT output value from the node in step 1. 

image.png

3. You can now use the assign to team node, and use the NAME value as a variable from the node in step 2.  

image.png

We are looking at ways to simplify this, but for now it will allow you a way to achieve what you are after. 

 

 

  • Thanks 1
Link to comment
Share on other sites

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