Drop down list with Actors names

1
0
-1

Dear All,

I want to query the actor / user names on the form to make a senior member select a name from that list at the time of task assign.

Kindly guide.

Thanks & regards,
Zeeshan Ali

Comments

Submitted by antoine.mottier on Tue, 08/01/2017 - 10:18

To clarify you want the senior member to select who will actually have to perform a next task in the process?
Or do you want the senior member to select who need to perform a pending task?

Submitted by zeeshan.malik on Tue, 08/01/2017 - 10:21

I need the first one, the senior member will select from the list that who will perform the task.

Submitted by antoine.mottier on Tue, 08/01/2017 - 10:43

I added an example to my original answer.

Submitted by zeeshan.malik on Tue, 08/01/2017 - 10:47

Thank you for your assistance, let me check and deploy and get back to you...

2 answers

1
0
-1
This one is the BEST answer!

In order to query organization information you need to use the Identity API. Identity API is available using the Java client or using REST.

I create a simple example to illustrate:

  • usage of REST API to list users in instantiation form
  • select user id is sent (as text) to contract and store as a process variable (as long after text to long conversion in process variable default value)
  • configuration of an actor filter on the task that use the user id store in the process variable

Comments

Submitted by zeeshan.malik on Mon, 07/31/2017 - 14:19

Dear Antoine,

can you elaborate please.

Thanks & regards,
Zeeshan Ali

Submitted by zeeshan.malik on Tue, 08/01/2017 - 06:38

Dear Antoine,

Can you please help me create one.

Thanks & regards,
Zeeshan Ali

1
0
-1

Hi there!

Is there a way to create this drop-down list directly in a task? Because that way it only works by putting it in the pool. My problem is that I have a more complex process and I would like this drop-down list to be displayed in a certain task, the actor to be chosen from the list and then to move to another lane

Notifications