Trigger processflow from Lawson Bookmark

 10 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Shane Jones
Veteran Member
Posts: 460
Veteran Member

    Anyone know if it is possible to trigger a flow from a Portal Bookmark?

    (No variables - just need to start the flow)

    Shane Jones
    Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
    Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
    ** Teach others to fish...
    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      A Portal Bookmark is basically a URL call so you should be able to trigger your flow from a call to the WFWK form. More than likely though it will open the WFWK form.
      David Williams
      Gary Davies
      Veteran Member
      Posts: 248
      Veteran Member
        You are better off creating an html that does an ags call to wfwk, that way you can parse and control the results and how they are displayed. The bookmark would then just be to the html page.
        Shane Jones
        Veteran Member
        Posts: 460
        Veteran Member

          I am on 9.0.0 and for some reason I thought WFWK was removed. I take it I can still use this form?

          Would this be my AGS:
          http://servername/ags.exe...9&_OUT=TEXT&EOT=TRUE
          (seems like I have the required fields)
           

          Needs to be Servlet:

          http://lawsontest.tra.loc...yee&VARIABLE-VALUE1="+Employee.EmployeeNbr+"&VARIABLE-NAME2=TEStartDate&VARIABLE-VALUE2="+TimeCard.StartDate+"&VARIABLE-NAME3=TEEndDate&VARIABLE-VALUE3="+TimeCard.EndDate+"&PRODUCTLINE=logan&_DELIM=%09&_OUT=TEXT&EOT=TRUE

          Shane Jones
          Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
          Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
          ** Teach others to fish...
          David Williams
          Veteran Member
          Posts: 1127
          Veteran Member
            WFWK was moved from the LOGAN product line to your application product line but it's still there.
            David Williams
            ShawnV
            Advanced Member
            Posts: 37
            Advanced Member
              Another option is to build a 'user friendly' Design Studio screen on top of WFWK allowing the user to submit the service. The nice part is that it handles all the results from the WFWK call and can show you the workunit number that it created.
              Shane Jones
              Veteran Member
              Posts: 460
              Veteran Member

                Anyone have a simple WFWK form built in design studio they want to share?

                Also, does anyone know if WFWK will work with "ProcessAsync - Process" instead of "ProcessAsync - Service"

                I was able to trigger a SERVICE from WFWK by the flows listed unter the Process do not appear to work from WFWK.

                Shane Jones
                Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
                Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
                ** Teach others to fish...
                Shane Jones
                Veteran Member
                Posts: 460
                Veteran Member
                  Here is a simple URL that can be used as a BOOKMARK:

                  http:// *server* /bpm/trigger.do?method=Start&triggerType=ProcessAsync&user=lawson&triggerName=yourprocessflowjobname&product=&categoryValue=&dataArea=&workTitle=anytitleyouwant&varName%5B0%5D=employee&varValue%5B0%5D=<>

                  Using the <> in the bookmark sends the users employee number into the flow. This is not perfect but it works in a pinch.
                  Shane Jones
                  Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
                  Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
                  ** Teach others to fish...
                  George Graham
                  Veteran Member
                  Posts: 201
                  Veteran Member
                    Anyone figure out how to pass variables through custom WFWK.1/Design Studio? I can add the mutli line field but I want to control the variable names, not have the user input. Could also just populate them in a script from a plain textbox but have not been able to get that work either.
                    Shane Jones
                    Veteran Member
                    Posts: 460
                    Veteran Member
                      George,

                      Contact me directly and I will explain how my process works. I have a simple html page that includes form items with a trigger button that uses the variables on the page in the flow trigger. This allows me to define the variables on the page. Might give you some ideas...

                      Shane: sjones@johnsonbank.com
                      Shane Jones
                      Tools: HR, Payroll, Benefits, PFI, Smart Office, BSI, Portal and Self-Service
                      Systems: Lawson, Open Hire, Kronos, Crystal Reporting, SumTotal Learning
                      ** Teach others to fish...
                      George Graham
                      Veteran Member
                      Posts: 201
                      Veteran Member
                        Shane - thanks for the offer. I actually had my script correct, but I had some issue with my session (was working remotely) and it wasn't working properly.

                        Once I connected locally the next day the variables were populated - and everything is working just fine.