LPA- Default work title for UA

Sort:
You are not authorized to post a reply.
Author
Messages
Lynne
Veteran Member
Posts: 122
Veteran Member
    Hi-
    I need to modify some of the inbasket work titles and can't figure out where I can see what the default title is.  If I look at the UA, work title, it is blank.  But, when the inbasket generates there is a title that displays.  Is there a default title that is used if you don't enter anything in the Work tab Work Title field of the UA node?  Thanks! 
    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      I believe the title/description from the WorkUnit displays when you don't set one in the UserAction.
      David Williams
      John Henley
      Senior Member
      Posts: 3348
      Senior Member
        Whatever code is creating the workunit can set the work title (i.e. the WF workunit API has a parameter to set the work title), so it depends on what type of workunit.
        Is there a specific type of workunit you are interested in?
        Thanks for using the LawsonGuru.com forums!
        John
        BarbR
        Veteran Member
        Posts: 306
        Veteran Member
          If there is no work title definition on the UA node, then I believe it is on the flow process properties. Right click on the flow workspace to define the process properties.
          Lynne
          Veteran Member
          Posts: 122
          Veteran Member
            I'm not sure what 'type' of a WU it is.  It's an LTM employee transfer that creates the WU.  The Lawson consultant that trained LPA said I should be able to see it in the workunit, but when I look at the log, I don't see where the title gets assigned.  I'm attaching some screen shots of the UA node and then the inbasket that displays.
            Attachments
            John Henley
            Senior Member
            Posts: 3348
            Senior Member
              By type, I meant what product or service (RQC, LTM, another flow, etc.) is creating the workunit.

              There are a number of APIs (Design Studio, COBOL, Landmark, ProcessFlow itself) that are used by specific Lawson products (LTM in your case) to create workunits. When the workunit is created, a flow is triggered (depending on how you have configured the LPA service associated with the created workunit). The flow (in your example) creates a user action (which puts the workunit into someone's inbasket).

              So to answer your original question, the workunit title that is displayed in the inbasket is set when the workunit is created, but as you are saying, you can override it on a specific user action so that it displays with a different title in the inbasket...
              Thanks for using the LawsonGuru.com forums!
              John
              Lynne
              Veteran Member
              Posts: 122
              Veteran Member
                Thanks for your explanation.  In referencing your explanation, where can I see the fields that they use to concatenate into the title when the work unit is created?  I am attaching the WU log.  I can't see where it displays anywhere the work title that is used by default. 

                I am going to customize the title, but I really would like to know where I can look to see what the default is as I'm not sure what some of the fields are that they display.  I like to know how things work.
                Attachments
                John Henley
                Senior Member
                Posts: 3348
                Senior Member
                  What process/function is creating the workunit?
                  Thanks for using the LawsonGuru.com forums!
                  John
                  harshgala
                  New Member
                  Posts: 1
                  New Member
                    I think Lynne is pointing to the WorkTitle that gets displayed in the WorkUnits Business Class in the ProcessFlow Administrator and not the WorkTitle in an invidual UserAction/InBasket. I need to figure out the same thing. Looked at different places inside the RichClient in LTM but was not able to figure it out. Any suggestions?
                    David Williams
                    Veteran Member
                    Posts: 1127
                    Veteran Member
                      If you know how to change the Title that is displayed (as we've explained), why do you need to know where the default one comes from? You can assign a variable as your 'title' and use that in your UserAction. This would allow you to change it before your flow enters your UA node.
                      David Williams
                      David Williams
                      Veteran Member
                      Posts: 1127
                      Veteran Member
                        And if you're wanting to change the WorkUnit (not UserAction) title, you can do that too. Just make an update to the WorkUnit title as the first action of your flow.
                        David Williams
                        B Ledet
                        Posts: 3

                          I know this is pretty old but.....good answer always works.

                           

                          If you're creating a workunit/calling processflow from a cobol program you invoke

                          1000-open-workflow-db

                          1000-process-flow

                          One of the ws fields you have access to is WFAPI-I-WORK-TITLE.

                          Whatever value you     MOVE "WU-TITLE" TO WFAPI-I-WORK-TITLE

                          appears in the processflow admin tool as the name of the work unit.

                          You are not authorized to post a reply.