I have a process that passing the form from one user to another in the first form the user choose from dropdown collection the users who will receive the user task, after the new user receive the task with the same form i need the dropdown collection to reset its values so the new user can assign the task to other users.
Question
Question
reset field's values after assigning the same form to another user
Replies
Hi there,
Can you provide more information? What kind of business process it is? Can you show me a screenshot of your form? Why the value need to be reset?
as you can see there is dropdown called (action list) the user choose what actions he can do to the form ,
this actions list is dynamic depending on the user.
after he forward this form to another user , i need the action list to be cleared so the new user who will receive this form can see his actions only , the problem is the list refilled again for the new user but still getting the field value from previous task and show the value the last user did . and as you can see from the screenshot if the initiator choose "forward to employee" he will get 5 dropdown list to forward the form to, when the form goes to the new user he can see all the values that the first user choose.
no solution??
Hi there,
If you don't want user1's value available to user2, you can create a new variable in a new form for user 2. Because if you use the same variable, it will show the current value of the variable in the field when form loads.
The problem is that the form can go back and forth for unlimited user until one user close it.
If you want to reuse the same field for different people and every time it's a new start, you can add a Workflow Service Task before sending to user2 and use Set Business Process variable activity to set that dropdown variable to empty.
I'm already doing that but there is a risk factor that the user start to select values before the script excuts and also, you will never know the exact time the values of the field will be filled. Sometimes 5 sec and some times 8 sec ext......