PF menu.do service variable definition

 5 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
ryand
Veteran Member
Posts: 51
Veteran Member

      I am having a problem adding a variable in my pf admin tool so I can use it in my process flow.  I added a User Field that I then attached to my action in PA50.  In MSS, I can select one of the three values and submit but how do I capture that selection and store it for use in my process flow?  I've tried setting these variables up in Service Variable Definition: HRU_FIELD_NAME size 20; PCO_CODE size 10; PCT_NEW_VALUE_1 size 10.  The rest of my MSS items work now and workunits are being created but I'm left basically guessing as to the variable creation on this form.

    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member

      Using a WebRun, the Web Program would be: bpm/xml/workUnitVariablesForm.do
      The command would be something like:
      method=Add&workUnit=123<!--orkUn-->&variableName=ATTACHMENT&variableValue=VARIABLE_NAME<!--tachme-->&variableType=3&sequenceNumber=13

      You have to include the sequence number.

      David Williams
      ryand
      Veteran Member
      Posts: 51
      Veteran Member
        A webrun node will be able to pick up an entry from manager self service?
        Gary Davies
        Veteran Member
        Posts: 248
        Veteran Member

          One should understand what is being asked.

          There are set delivered workunit variables that are available for Personnel Actions triggered from PA52.    Even though you add a HR field in PA50 it does not mean it can be dynamically added to the workunit variables.  

          What you need to do is use the workunit variables that are passed which are the keys to the PERSACTION table, read the table and get the PCT_NEW_VALUE field from there.

          John Henley
          Posts: 3353
            Posted By Gary Davies on 11/02/2009 03:15 PM

            One should understand what is being asked.

            Gentle, please.

            Thanks for using the LawsonGuru.com forums!
            John
            David Williams
            Veteran Member
            Posts: 1127
            Veteran Member
              ryand - you can use a query within your ProcessFlow to get the values from your user fields and assign them to variables for use only within the flow. If you want those variables available to your Inbasket then you do what I suggested above and add the variables to the WorkUnit. You can then display these variables on your Inbasket display page.
              David Williams