Wednesday, February 18, 2009

General approach to create Work Object with error handling:

Create new page and add model
Call add work activity on pywork page or pyworkCover
Commit by calling “Call WorkCommit”
If error then add message to “Param.Message” at the page
Call error handling flow.

3 comments:

  1. What about Data-Admin-DB-ClassGroup instance.I saw if you forgot to add this instance , some time pega will create temporary work Object if you run the flow.

    Just a thought not related to your tips,Indeed the tips is a great one..

    Hell Coding

    Shyam

    ReplyDelete
  2. hi ,
    i am trying to import an application on PRPC 5.5 to PRPC 5.3 and getting RequestLockExceptions .Is this due to the fact of version mismatch , can any one suggest ?
    jay

    ReplyDelete
  3. Hello There,

    This is one awesome blog. Much thanks again. Fantastic.
    I am trying to implement below requirement.
    When an activity is run manually. it displays the simple harness where user browse the file and click submit button. on click of submit button, I should read the file that user browsed and parse that xml file.
    I am trying to use File path control and on click of the submit button I am calling an activity to read the file from pyFileUpload property on pxRequestor.
    But nothing gets set in the pyFileUpload property.
    With PRPC, you have to understand the class structure and hierarchy first for each organizational unit and functionality which in any organization, is really huge.
    Please advise on how to achieve this requirement. This is not part of any work object flow. User runs the activity that displays harness. user will browse and hot the submit button.
    Great effort, I wish I saw it earlier.

    Thank you,
    Margon Lee

    ReplyDelete