Skip to main content
Known Participant
Mar 7, 2023 12:40 PM UTC
Solved

MNI - Data filled by first user showing to other user in MNI

I have created a MNI in a user Input task 

In the assignment Tab, set the assignment to one to one as well

The above group contains two users. But as soon as one user completes the task, whatever the data filled by that user is showing to the other user as well. 

Could you please help me to resolve this error

mikes0011
mikes0011Answer
Brainy
Mar 10, 2023 5:14 PM UTC

Please reference the attached sample application (23.1 export fyi) which successfully reproduces the individual-assignment-by-group-membership, and writes each individual user's text input (as well as their username and a timestamp) into an individual Map entry and appends it all to a list of map stored as a PV.  After import and prior to running, you'll need to add one or more assignees to the "GMAT Assignees" group.

[View:/cfs-file/__key/communityserver-discussions-components-files/62/Group-Multi_2D00_Assignment-Test-_2800_23.1-export_2900_.zip:320:240]

Configuration Preview

Task Form:

Data Output:

Result:

The Expression Guru

15 replies

abhayd3663
Brainy
Mar 7, 2023 3:12 PM UTC

For this particular use case the Assignment should be one to one for each instance. Since both the users are member of group they are able to see the task.

Known Participant
Mar 7, 2023 3:40 PM UTC

Hi Abhay, In the second screenshot attached I have checked the box for the one to one assignment. I hope you're referring this only. But still when one user fills the form with some data, for the other user the data filled by him is displayed.

In the above screen shot, I submitted the task by one user. When other user opened the task he is already seeing data filled by other user.

Could you please suggest on this?

pragnaj0001
Inspiring
Mar 7, 2023 5:17 PM UTC

May be try this way take process variable multiple values. save each user input values  in index wise.  

mikes0011
Brainy
Mar 9, 2023 5:39 PM UTC

Is the task set to save to an array?  I believe you need to do this (and handle it with unusual care) to get the result you desire.

I suspect what's happening instead is that you're saving the data into a singular PV, and if that PV is also set as the value for the ACP in the data inputs tab, then the next person to load their instance of the task would automatically see the value completed by the prior user.

The Expression Guru
Known Participant
Mar 10, 2023 4:35 AM UTC

Hi Mike, thanks for the suggestion. I have already tried with this. Please refer the below screenshots.

In the ACP

Data in PV after 1st Instance

In second Task, I put these details

After submitting the data,

I have made it multiple but still the data is not populated and it's replaced by new data. 

Usually how if a task need to assigned to multiple users and collect their feedback how it is done. Is there any other way of doing this.

Thanks

mikes0011
Brainy
Mar 10, 2023 2:24 PM UTC

You would need to save the form data in the Data Outputs tab in a way that can actually handle arrays. Your ACP would need to be single, whereas the PV it saves into would need to be Multiple.  Then you should save the current instance's value, either appending it into the list, or saving it at a specific location in the array (assuming that works).

(or)

The Expression Guru
mikes0011
mikes0011Answer
Brainy
Mar 10, 2023 5:14 PM UTC

Please reference the attached sample application (23.1 export fyi) which successfully reproduces the individual-assignment-by-group-membership, and writes each individual user's text input (as well as their username and a timestamp) into an individual Map entry and appends it all to a list of map stored as a PV.  After import and prior to running, you'll need to add one or more assignees to the "GMAT Assignees" group.

[View:/cfs-file/__key/communityserver-discussions-components-files/62/Group-Multi_2D00_Assignment-Test-_2800_23.1-export_2900_.zip:320:240]

Configuration Preview

Task Form:

Data Output:

Result:

The Expression Guru
Known Participant
Mar 11, 2023 7:07 AM UTC

Hi Mike, thanks a lot for the answer. Now that the data is saved as map which gives more flexibility to extract it as well. Appreciated for your efforts.

stefanhelzle0001
Brainy
Mar 11, 2023 10:02 AM UTC

Another function in Appian to specifically support your use case is this:

docs.appian.com/.../Process_Model_Recipes.html