Skip to main content
For more information about creating activities, see Creating a Pega activity.

Pages & Classes

Page nameClass
CaseWork-

Parameters

NameData typeRequired
CaseIdStringYes
templateNameStringYes
jsonDataStringNo
executionModeStringNo

Steps

Step 1: Method: Obj-Open-By-Handle. Step page: Case. InstanceHandle: Param.caseId. Step 2: Method: Property-Set
PropertiesNameProperiesValue
Param.executionModeDESERIALIZE
Param.jsonData@ABBYY.FetchingCapturedData(.BatchId, Param.templateName)
For more information, see FetchingCapturedData. Jump:
Whenif truetrue paramif falsefalse param
StepStatusFailJump to Later StepERRContinue Whens
Param.templateName==“Invoice_eng”Jump to Later StepINVOICEContinue Whens
Param.templateName==“Banking_eng”Jump to Later StepBANKINGContinue Whens
Param.templateName==“Contract_eng”Jump to Later StepCONTRACTContinue Whens
Param.templateName==“Letter_eng”Jump to Later StepLETTERContinue Whens
Param.templateName==“Price_eng”Jump to Later StepPRICEExit Activity
On exception, jump to later step label: ERR. Step 3: Label: INVOICE. Method: Apply-DataTransform
NameValue
DataTransformjsonToInvoice
PassParameterPagetrue
For more information, see jsonToInvoice. Jump:
Whenif truetrue paramif falsefalse param
trueExit Activity
On exception, jump to later step label: ERR. Step 4: Label: BANKING. Method: Apply-DataTransform
NameValue
DataTransformjsonToBanking
PassParameterPagetrue
For more information, see jsonToInvoice. Jump:
Whenif truetrue paramif falsefalse param
trueExit Activity
On exception, jump to later step label: ERR. Step 5: Label: CONTRACT. Method: Apply-DataTransform
NameValue
DataTransformjsonToContract
PassParameterPagetrue
For more information, see jsonToContract. Jump:
Whenif truetrue paramif falsefalse param
trueExit Activity
On exception, jump to later step label: ERR. Step 6: Label: LETTER. Method: Apply-DataTransform
NameValue
DataTransformjsonToLetter
PassParameterPageTrue
For more information, see jsonToLetter. Jump:
Whenif truetrue paramif falsefalse param
trueExit Activity
On exception, jump to later step label: ERR. Step 7: Label: PRICE. Method: Apply-DataTransform
NameValue
DataTransformjsonToPrice
PassParameterPageTrue
For more information, see jsonToPrice. Jump:
Whenif truetrue paramif falsefalse param
trueExit Activity
On exception, jump to later step label: ERR. Step 8: Label: ERR. Method: Page-Set-Messages. Message: @unescapeHTML(@getWorstMessageName(tools)). For more information, see unescapeHTML.