ProcessFlow - How to access PA52 changed values that are not defined variables?

 3 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
timbomom
Advanced Member
Posts: 28
Advanced Member
    Hi,

    I am relatively new to processflow.  I have a process flow that I am invoking with a PA52 change.  I have created an action where I want to check a change in the FTE value in order to update a customer field.  I can't find where to access the new and old FTE values from within process flow.

    Thanks,
    Patricia
    BarbR
    Veteran Member
    Posts: 306
    Veteran Member
      We use a Query node and read the PERSACTION table, and then assign the value to a variable. Here is an example of an assign for the new FTE value:
      nActionFTE = substring(QPA2_NEW_VALUE_1, 12, 13) + "." + substring(QPA2_NEW_VALUE_1, 13, 19)
      Where nActionFTE is defined as a Double in the Start node.
      timbomom
      Advanced Member
      Posts: 28
      Advanced Member
        Thanks!  Tried it and my flow works now.
        timbomom
        Advanced Member
        Posts: 28
        Advanced Member
          Thanks, I tried that and it worked. Flow is running.