Process Flow Variables Passed in from trigger

 3 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
vc727
Advanced Member
Posts: 44
Advanced Member

    I have been playing with adding Process flow triggers from Design Studio and can trigger a process without any trouble. The issue I am having is how do I get some basic variables passed from the incident which triggered the flow so They can be used in the flow.

    The example i have been playing with is creating a log of who is viewing hr11 records.

    I can tell who is looking but I am not able to tell which records.

    How do I get the criteria variables that are set up on the service to populate?

    John Henley
    Posts: 3353
      I have article planned in a few months that demonstrates how to do this. I will see if it is complete enough to post.
      Thanks for using the LawsonGuru.com forums!
      John
      Gary Davies
      Veteran Member
      Posts: 248
      Veteran Member

        From the Trigger Criteria and Variables Selection window when creating the Work Flow trigger, highlight the criteria field. there is a listing near the bottom showing Name and Value,  the criteria field will display in the Name field.  You can set the value to a Literal, User Variable or Form field.   Literals are hard coded static text, Form fields are fields defined on the existing Lawson form (as you would get by doing a getDataValue in javascript in Design Studio), the User Variables are information about the user stored on the portal page (same as what is returned from  a servlet/Profile?).  some of the values you can assign are employee number and lawsonuserlogin.

        Gary Davies

        www.automated-workflow.com

        vc727
        Advanced Member
        Posts: 44
        Advanced Member
          That helped Gary, Thanks that is just what I was missing.