TriggerCourtProcess
License for TIBCO Software Use Only!
Section contains description of Process " TriggerCourtProcess.process " .
Modification time: 2023/04/20 10:31:06
Folder description:
| Folder | Description |
|---|---|
| /PantherBW/ProcessDefinitions/BusinessLogic | The folder that contain the main procedures.... |
Process description:
| The process which triggers procedures in the iProcess |
Process definition:
Full process path: PantherBW/ProcessDefinitions/BusinessLogic/TriggerCourtProcess.process
Diagram:

Process starter activity:
Name: Start
Description: The beginning of TriggerCourt process
Input Parameters:
- - TriggerCourtProcessRequest (XML Element Reference, required )
Process end activity:
Name: End
Output Parameters:
- - TriggerCourtProcessResponse (XML Element Reference, required )
Return bindings:
Mapping table
Target Source /[WHEN]<$Variable0/Results/ResultCode=0>/TriggerCourtProcessResponse/ResultCode 0 /[OTHERWISE]/TriggerCourtProcessResponse/ResultCode -1 /[OTHERWISE]/TriggerCourtProcessResponse/ResultMessage "Error." Mapping tree
[CHOOSE] [WHEN] < $Variable0/Results/ResultCode=0 > TriggerCourtProcessResponse ResultCode = 0 [OTHERWISE] TriggerCourtProcessResponse ResultCode = -1 ResultMessage = "Error."Source code
<xsl:choose xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="www.tibco.com/plugin/staffware/iProcessStartCaseActivityInput" xmlns:pfx="http://www.tibco.com/schemas/pantherbw/PantherBW/ProcessDefinitions/Schema/Schema.xsd" xmlns:pfx2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/pe/EngineTypes"> <xsl:when test="$Variable0/Results/ResultCode=0"> <pfx:TriggerCourtProcessResponse> <pfx:ResultCode> <xsl:value-of select="0"/> </pfx:ResultCode> </pfx:TriggerCourtProcessResponse> </xsl:when> <xsl:otherwise> <pfx:TriggerCourtProcessResponse> <pfx:ResultCode> <xsl:value-of select="-1"/> </pfx:ResultCode> <pfx:ResultMessage> <xsl:value-of select=""Error.""/> </pfx:ResultMessage> </pfx:TriggerCourtProcessResponse> </xsl:otherwise> </xsl:choose>
Process variables:
Schema: Variable0
-
+
Results
(Complex Type,
required
)
- - ResultCode(xsd:int,required)
- - ResultMsg(xsd:string,optional)
Activities:
Name: Assign
- Type: com.tibco.pe.core.AssignActivity
- Resource Type: ae.activities.assignActivity
- Description: It assigns the error value and error message.
- Configuration:
- variableName = Variable0
- Input bindings:
Mapping table
Target Source /Results/ResultCode -1 /Results/ResultMsg "Error" Mapping tree
Results ResultCode = -1 ResultMsg = "Error"Source code
<Results xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="www.tibco.com/plugin/staffware/iProcessStartCaseActivityInput" xmlns:pfx="http://www.tibco.com/schemas/pantherbw/PantherBW/ProcessDefinitions/Schema/Schema.xsd" xmlns:pfx2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/pe/EngineTypes"> <ResultCode> <xsl:value-of select="-1"/> </ResultCode> <ResultMsg> <xsl:value-of select=""Error""/> </ResultMsg> </Results>
Name: Catch
- Type: com.tibco.pe.core.CatchActivity
- Resource Type: ae.activities.catch
- Description: The error catcher...
- Configuration:
- catchAll = true
Name: Generate Error
- Type: com.tibco.pe.core.GenerateErrorActivity
- Resource Type: ae.activities.throw
- Description: Generates error when someone is trying to run other procedure then pre-defined
- Configuration:
- faultName =
- Input bindings:
Mapping table
Target Source /ActivityInput/message "Judge made wrong decision." Mapping tree
ActivityInput message = "Judge made wrong decision."Source code
<pfx2:ActivityInput xmlns:pfx2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="www.tibco.com/plugin/staffware/iProcessStartCaseActivityInput" xmlns:pfx="http://www.tibco.com/schemas/pantherbw/PantherBW/ProcessDefinitions/Schema/Schema.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/pe/EngineTypes"> <message> <xsl:value-of select=""Judge made wrong decision.""/> </message> </pfx2:ActivityInput>
Name: Panther1 - restart process
- Type: com.tibco.plugin.staffware.iProcessStartCaseActivity
- Resource Type: ae.activities.iProcessStartCase
- Description: Panther1 - restart process
- Configuration:
- StaffwareStepType = 2
- StaffwareProcedureStatus = 1
- UseCasePrecedenceRule = true
- StaffwareProcedureStartMode = 1
- ShowStaffwareProcedureSystemFields = false
- ValidateInputValueLength = true
- OverrideTransactionBehavior = false
- StaticConfiguration = false
- StaffwareProcedureName = PANTHER1 (0.6)
- StaffwareProcedureInput = N_EMAILS^82^?^10^0,T_DATE^65^?^20^0,T_ERRORMSG^70^?^0^0,T_EXPDATE^65^?^20^0,T_FIRSTMAIL^65^?^20^0,T_WAIT^65^?^20^0,
- StaffwareNodeInfo = 0^/^:^[3.1.1]^
- StaffwareStepName = RT00
- StaffwareStepInput =
- StaffwareConnection = /SharedResources/Connection/iProcess Connection.sharediprocesscon
- Input bindings:
Mapping table
Target Source /iProcessStartCaseActivityInput/CaseDescription-24 $Start/pfx:TriggerCourtProcessRequest/pfx:SW_CASENUM Mapping tree
iProcessStartCaseActivityInput CaseDescription-24 = $Start/pfx:TriggerCourtProcessRequest/pfx:SW_CASENUMSource code
<ns:iProcessStartCaseActivityInput xmlns:ns="www.tibco.com/plugin/staffware/iProcessStartCaseActivityInput" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.tibco.com/schemas/pantherbw/PantherBW/ProcessDefinitions/Schema/Schema.xsd" xmlns:pfx2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/pe/EngineTypes"> <CaseDescription-24> <xsl:value-of select="$Start/pfx:TriggerCourtProcessRequest/pfx:SW_CASENUM"/> </CaseDescription-24> </ns:iProcessStartCaseActivityInput>
Name: Panther1 - send email
- Type: com.tibco.plugin.staffware.iProcessStartCaseActivity
- Resource Type: ae.activities.iProcessStartCase
- Description: Panther1 - send email
- Configuration:
- StaffwareStepType = 0
- StaffwareProcedureStatus = 1
- UseCasePrecedenceRule = true
- StaffwareProcedureStartMode = 1
- ShowStaffwareProcedureSystemFields = false
- ValidateInputValueLength = true
- OverrideTransactionBehavior = false
- StaticConfiguration = false
- StaffwareProcedureName = PANTHER1 (0.6)
- StaffwareProcedureInput = N_EMAILS^82^?^10^0,T_DATE^65^?^20^0,T_ERRORMSG^70^?^0^0,T_EXPDATE^65^?^20^0,T_FIRSTMAIL^65^?^20^0,T_WAIT^65^?^20^0,
- StaffwareNodeInfo = 0^/^:^[3.1.1]^
- StaffwareStepName = RT03
- StaffwareStepInput =
- StaffwareConnection = /SharedResources/Connection/iProcess Connection.sharediprocesscon
- Input bindings:
Mapping table
Target Source /iProcessStartCaseActivityInput/CaseDescription-24 $Start/pfx:TriggerCourtProcessRequest/pfx:SW_CASENUM Mapping tree
iProcessStartCaseActivityInput CaseDescription-24 = $Start/pfx:TriggerCourtProcessRequest/pfx:SW_CASENUMSource code
<ns:iProcessStartCaseActivityInput xmlns:ns="www.tibco.com/plugin/staffware/iProcessStartCaseActivityInput" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.tibco.com/schemas/pantherbw/PantherBW/ProcessDefinitions/Schema/Schema.xsd" xmlns:pfx2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/pe/EngineTypes"> <CaseDescription-24> <xsl:value-of select="$Start/pfx:TriggerCourtProcessRequest/pfx:SW_CASENUM"/> </CaseDescription-24> </ns:iProcessStartCaseActivityInput>
Name: Panther2 - begin the process
- Type: com.tibco.plugin.staffware.iProcessStartCaseActivity
- Resource Type: ae.activities.iProcessStartCase
- Description: Panther2 - begin the process
- Configuration:
- StaffwareStepType = 2
- StaffwareProcedureStatus = 1
- UseCasePrecedenceRule = true
- StaffwareProcedureStartMode = 1
- ShowStaffwareProcedureSystemFields = false
- ValidateInputValueLength = true
- OverrideTransactionBehavior = false
- StaticConfiguration = false
- StaffwareProcedureName = PANTHER2 (0.1)
- StaffwareProcedureInput =
- StaffwareNodeInfo = 0^/^:^[3.1.1]^
- StaffwareStepName = RT00
- StaffwareStepInput =
- StaffwareConnection = /SharedResources/Connection/iProcess Connection.sharediprocesscon
- Input bindings:
Mapping table
Target Source /iProcessStartCaseActivityInput/CaseDescription-24 $Start/pfx:TriggerCourtProcessRequest/pfx:SW_CASENUM Mapping tree
iProcessStartCaseActivityInput CaseDescription-24 = $Start/pfx:TriggerCourtProcessRequest/pfx:SW_CASENUMSource code
<ns:iProcessStartCaseActivityInput xmlns:ns="www.tibco.com/plugin/staffware/iProcessStartCaseActivityInput" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.tibco.com/schemas/pantherbw/PantherBW/ProcessDefinitions/Schema/Schema.xsd" xmlns:pfx2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/pe/EngineTypes"> <CaseDescription-24> <xsl:value-of select="$Start/pfx:TriggerCourtProcessRequest/pfx:SW_CASENUM"/> </CaseDescription-24> </ns:iProcessStartCaseActivityInput>
Transitions:
-
From:
Assign
-To:
End
- Label:
- Condition: Success
- Description:
-
From:
Catch
-To:
Assign
- Label:
- Condition: Success
- Description:
-
From:
Panther1 - restart process
-To:
End
- Label:
- Condition: Success
- Description:
-
From:
Panther1 - send email
-To:
End
- Label:
- Condition: Success
- Description:
-
From:
Panther2 - begin the process
-To:
End
- Label:
- Condition: Success
- Description:
-
From:
Start
-To:
End
- Label: end process
- Condition: $Start/pfx:TriggerCourtProcessRequest/pfx:message="QUIT"
- Description: ends the process
-
From:
Start
-To:
Generate Error
- Label:
- Condition: Success with no matching condition
- Description:
-
From:
Start
-To:
Panther1 - restart process
- Label: restart
- Condition: $Start/pfx:TriggerCourtProcessRequest/pfx:message="RESTART"
- Description: restarts the whole process
-
From:
Start
-To:
Panther1 - send email
- Label: mail
- Condition: $Start/pfx:TriggerCourtProcessRequest/pfx:message="MAIL"
- Description: starts the procedure which sends email
-
From:
Start
-To:
Panther2 - begin the process
- Label: court
- Condition: $Start/pfx:TriggerCourtProcessRequest/pfx:message="COURT"
- Description: starts the court