You are viewing limited content. For full access, please sign in.

Question

Question

reset field's values after assigning the same form to another user

asked on February 20, 2016 Show version history

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.

1 0

Replies

replied on February 29, 2016

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?

0 0
replied on March 1, 2016 Show version history

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.

actionform.jpg
actionform.jpg (64.61 KB)
0 0
replied on March 2, 2016

no solution??

0 0
replied on March 3, 2016

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.

0 0
replied on March 3, 2016

The problem is that the form can go back and forth for unlimited user until one user close it.

0 0
replied on March 3, 2016

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.

1 0
replied on March 3, 2016

We are now in version 9.2 so this feature not exists, i think

Is there away we can do this in v 9.2

0 0
replied on March 3, 2016

I think you can try use javascript to clean the value.

0 0
replied on March 3, 2016

I tried.  But the problem is that the value of some fields taking sometimes to load in that time the javascript is already finished. 

0 0
replied on March 4, 2016

You can use javascript wait to wait for certain time before that particular javascript get executed.

0 0
replied on March 4, 2016

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

0 0
replied on March 4, 2016

How about you hide the field first, and show it after processing it with javascript.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.