hello im new to appian,
is there a way to assign a task to a group base on the value of groups in the dropdown ?
i try using groupsByName function on the process model in the scriptask to get the specific group that i selected on the dropdown field but im unable to set the task assignment on that group
Thank you very much
Discussion posts and replies are publicly visible
Did you try a group picker field?
In the form you need a rule input of type group, map this to a process variable and use the for assignment.
In case you want to store assignee in a data type, use an integer field.
Does that help?
BTW, group names are not unique. Always reference groups by their id.
hello stefan thank you for your answer. is it possible to set choice values for the group picker field so that the user can only select the groups needed ?
hello stefan, i try to use the group picker field as you mention, but uppon creating the rule input on the form and also passing it on the process variable im still unable to assign the task to the group
OK. Then I need details.
Is the selected group stored in the rule input?
Is the value visible in process?
Please add screen shots showing this.
yes for the value its stored in the rule input
and for the it is visible aswell on the process
im able to map it aswel on the user input task
OK. Looks Good. How does the assignment tab of your task look like?
heres the user input task that has the assignemnt tab
Seems OK as well. Two questions.
How do you know that assigned did not work?
In the active process instance, how does assignment of that task look like?
for the assignment i put my self part of the group so that if i assign it to the group i would receive it on the email but i also check tempo and the task is appearing there
in the active process instance
When you click on "View node details", you should see exactly how the assignment is.
uppon checking it is correctly assigned on the group
OK. The it seems to be fine ...