Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Workflow not working when picklist value is restricted
#1
I have this situation

In payments I created a new picklist for financial time, control each payments

One this itens, in picklist is Paid

System uses a field Paid ( in checkbox )

For maintain a system standard, I create a workflow when registry is save, set a picklist with value Paid, when checkbox is checked too

Problem is, this value in picklist, "Paid" is only allowed for restricted users.

When I assign this in settings, workflow not working anymore.
If I setting Paid for all users, workflows working again

even user is allowed to choose "Paid" in pickilist, not working.
But If i marked item "Paid" for all user, working again ...

=(


Attached Files Image(s)
           
Ranieri
eCRM Web
Reply
#2
I basically had no problem with this.

First I setup the picklist, then configured a user who could not access the "paid" value, then I entered as that user and made sure he did not have the value in the picklist.
Next I created the workflow to assign "paid" to the picklist. I see that the admin user did not have access to this value. I had seen this before but never paid to much attention to it. Now I thought that this could be your issue, the value not being in the picklist for the admin user, so I fixed that. The workflow worked correctly.

Then I also tried putting a hard coded string (expression) for paid directly instead of selecting the value from the picklist (raw value) and that worked also.


   

HTH
Joe
TSolucio
Reply
#3
Ah, ok, understood now

workflows always run in admin context, and in same case, for us, thats is a problem. For example, when create a workflow do created a new task, this task is associated the admin, not a user in session ...

There any way, for run a workflow in user context?
Ranieri
eCRM Web
Reply
#4
assign the current user value to the assigned user field using the function that is there for that
Joe
TSolucio
Reply
#5
I means, created user ...
Ranieri
eCRM Web
Reply
#6
but it is the admin user creating the record, the user launching the workflow may not even have permission to create the record
Joe
TSolucio
Reply
#7
And is possible change this? or setting for workflow mark a same user as a user created a record?
Ranieri
eCRM Web
Reply
#8
yes, I suppose this could be done
Joe
TSolucio
Reply
#9
is possible setting business map for check only if field is changed?
Ranieri
eCRM Web
Reply
#10
no....
Joe
TSolucio
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)