IMaaS Contract sample app - contract approval use case
Number of APIs: 17
Overview
This collection mirrors the OpenText Sample App
Note: This app requires a free trial of the IMaaS developer plan for you to test Sign-up here
For detailed step-by-step from sign-up to first test of the sample app watch this video:
What you get out of trying this sample app with our IMaaS bundle
Are you looking to move information between Apps or Line of business systems? This sample app gives you a testable starting point for how our IM Services can be used. For the purposes of testing you can use React and any User Interface to test our services once you sign-up so you can access our cloud services
This example shows how to develop an application in React which allows to upload a document, store document related data, do document analysis for Personally Identifiable Information (PII) data, and use a workflow to automate a simple approval step.
Application Scenario
- An employee logs on to the Contract Approval application
- She creates a contract entry, specifies the contract value and uploads a contract (PDF).
- The uploaded document is sent to Magellan Risk Guard where it is analyzed for sensitive information.
- Based on this analysis, the contract gets a risk level assigned.
- When the contract value is below or equal to 1000 and the risk level is below high - the contract is automatically approved.
- When the value is above 1000 or when the risk level is high or very high the contract first has to be approved by the contract manager.
- At the end the employee receives an email with the status of the contract approval.
Learning points
Build an application with React. The application will have secure login, tabs, grids and pagination. Use a business process model created with the Workflow Modeler. Use different multiple IMaaS services: Content Storage Service (CSS), Content Metadata Service (CMS), Workflow Service, and Magellan Risk Guard.
Requirements
NodeJs version 14.2.0
Active OpenText IMaaS account
A Github account to download the sample app code
Be sure to save your Service password that is displayed when signing up for the 90 days trial
-
misc - get-namespaces GET {{apigee_host}}/cms/namespaces
-
misc - get-all-cms-contract-file-type GET {{apigee_host}}/cms/type-definitions?items-per-page=20
-
misc - get-all-attributes-from-cms-contract-file-type GET {{apigee_host}}/cms/type-definitions/ot2_app_contract/attributes
-
misc - get-attribute-from-cms-contract-file-type GET {{apigee_host}}/cms/type-definitions/ot2_app_contract/attributes/862b118d-70e4-4560-ba8f-4e3e79852c42
-
misc - add-attribute-to-cms-contract-file-type POST {{apigee_host}}/cms/type-definitions/ot2_app_contract/attributes
-
misc - get-all-workflow-models GET {{apigee_host}}/workflow/v1/runtime/models
-
misc - delete-workflow-model DELETE {{apigee_host}}/workflow/v1/runtime/models/cec260f7-3378-11ec-b023-eeee0affc492
-
misc - get-cms-contract-file GET {{apigee_host}}/cms/instances/file/ot2_app_contract/7e2aeeef-e924-4864-89ce-cb4b263b462b
-
misc - delete-all-cms-contract-files GET {{apigee_host}}/cms/instances/file/ot2_app_contract
-
misc - process-document-with-riskguard POST {{apigee_host}}/mtm-riskguard/api/v1/process