Reassigning oCatValue

 4 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Lynne
Veteran Member Send Private Message
Posts: 122
Veteran Member
I am using Process Flow Designer version 9.0.1.  My problem is that I am trying to reassign oCatValue, but it is not a choice in the list of variables in the Assign node.  I tried creating a javascript:

oCatValue=NewValue

where NewValue is another variable, and that is not working.  Does anyone have any suggestions?  Thank you very much.
Deleted User
New Member Send Private Message
Posts: 0
New Member
I do this all the time and haven't had any trouble with it. I save the current value since it will be needed again, assign a new value, and then restore the original value before it is needed again. My save and assign statements are:
sSaveCatValue = oCatValue
oCatValue = Company + Old_Process_Level
Works fine for me. Of course, there have to be User Task Definitions in the PF Admin tool with the correct Work Category (e.g. Supervisor) and Work Category Values (e.g. 10004321) assigned to User ID's for this to work.
Deleted User
New Member Send Private Message
Posts: 0
New Member
I missed that you said oCatValue wasn't in the list of variables. That might mean that your Process Properties aren't associated with the Service name (e.g. Action Approval).
David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
You have two choices - get a newer version of ProcessFlow Designer or trick the system. The version of the Designer that you're using didn't allow you to update oCatValue, which is stupid and Lawson allowed it again in a later version.

What I did was to create a variable called CatValue and then I opened the XML file in TextPad and revised it to oCatValue. Pretty simple workaround.
David Williams
Lynne
Veteran Member Send Private Message
Posts: 122
Veteran Member
Thank you, David.  That worked and now I can reassign oCatValue.  I appreciate your help.