Run Process is used to create a Run definition in Rule Run Framework (RRF) using PMF Process. Visual representation of the Run is enabled through PMF by construction of a Run Pipeline. Various OFSAA widgets that enables construction of Run Pipeline are available in the Component toolbar.
1. Seed AOM Data Fields. For more information, see Configuring Application Object Model (AOM) section.
2. Click in the Process Modeller
Summary window.
3. Enter a unique Process ID, Process Name and a description.
4. Select the appropriate app package in which you want to create the process. For more information, see Application Package section.
5. Select Run from the Type drop-down list.
6. Select the information domain in which you want to create the Run Process, from the Infodom drop-down list. The list displays all the infodoms mapped to the applications configured in your OFSAA instance.
7. Click Save & Launch.
8. Click Start from the Tools pane in the floating toolbar and click
on the drawing canvas where you want to place it. This Start activity
indicates the beginning of the Process.
You can construct Run pipeline using only OFSAA Widgets. For details, see Configuring OFSAA Tasks in Your Process Flow section.
You can construct Run Pipeline using already constructed pipelines. The same pipeline can be used across different Run pipelines. For more information, see Calling another Pipeline from Your Parent Pipeline section.
You can construct Run pipeline by combining OFSAA widgets and Sub pipeline.
You can execute Run Pipeline from UI or using a command line utility called wfExecExternal.sh.
From UI
To execute Run Pipeline from UI:
1. From the Process Modeller Summary
window, click corresponding to the
Run Pipeline you want to execute:
2. Click Execute Run to execute the Run Pipeline. The Select Run Params window is displayed.
3. Select values for the Run Parameters and click OK.
The execution of the Run Pipeline is triggered using the selected FIC MIS DATE. The RUNSKEY is generated and inserted into the “DIM_RUN” table. For the RUNSKEY generated, the corresponding user selected parameters are inserted in to the “RUN_EXE_PARAMETERS” table.
Using Command Line Utility
A command line utility ./wfExecExternal.sh is available in $FIC_DB_HOME/bin folder.
To execute Run Pipeline using command line utility
1. Navigate to $FIC_DB_HOME/bin folder.
2. Execute the script file using the following command:
./wfExecExternal.sh processInstanceId
processId objectId objectType infodom userID
segment locale 'applicationparams' 'securityparams'
§ processInstanceId - Instance Id of the Process or Run Pipeline
§ processId - Process ID of the Run Pipeline. This is a mandatory parameter.
§ objectId -Specify a unique Object ID. This is a mandatory parameter.
§ objectType - Specify the Object Type if it is defined in the aai_wf_app_definition_map table.
§ infodom - Information Domain Name
§ userID - Specify the user ID
§ segment - Segment Name
§ locale - Locale selected. For example, en_US
§ 'applicationparams'- Specify values for the Run execution parameters stored in APP_COMP_ATTR_MAP_ID within single quotes separated by comma.
§ 'securityparams'- Specify any security parameters within single quotes separated by comma
For example:
./wfExecExternal.sh null 1542221676429 CECLShellLatest null OFSIFRSINFO OFSIFRSINFO AAAIUSER en_US '{"hierDetailsLE":[{"hierValueCode":"AU","value":"Bank of Australia","hierNodeCode":"[HLLFP029].[0].[AU]","leafCondition":"CASE WHEN DIM_ORG_STRUCTURE.f_latest_record_indicator = 'Y' THEN DIM_ORG_STRUCTURE.v_entity_code END='AU'","hierNodeDesc":"Bank of Australia"}],"CONSOTYPE":"S","hierDetailsRCY":[{"hierValueCode":"DZD","value":"Algerian Dinar","hierNodeCode":"[HLLFP026].[DZD]","leafCondition":"DIM_CURRENCY.v_iso_currency_cd = 'DZD'","hierNodeDesc":"Algerian Dinar"}],"FIC_MIS_DATE":"2019-04-19","V_RUN_MAIN_DESC":"Test"}' null
TIP |
Null should be passed if you do not want to pass value for a parameter. |
The Abort feature facilitates you to abort a Run Pipeline which is in the process of execution.
To abort a Run Pipeline
1. From the Process Monitor window, click corresponding to
the Run Pipeline you want to abort and click Abort.
2. Enter comments if any, for aborting the Run Pipeline execution.
You can resume a Run Pipeline which has not been executed successfully or which has been explicitly interrupted, or cancelled, or put on hold during the execution process. By resuming a Run Pipeline, you can continue its execution directly from the point of interruption or failure and complete executing the remaining tasks.
To resume a Run Pipeline
1. From the Process Monitor window, click corresponding to
the Run Pipeline you want to resume and click Resume.
2. Enter comments if any, for restarting the Run Pipeline execution.
You can re-run a Run Pipeline which has previously been executed, irrespective of the previous execution state.
To re-rum a Run Pipeline
1. From the Process Monitor window, click corresponding to
the Run Pipeline you want to re-run and click Re-Run.
2. Enter comments if any, for re-running the Run Pipeline execution.