This article describes detailed steps about DBO Process to AgileApps Case & Case To Process which involves the following topics as well:
- How to install DAP Products
- How to create simple DBO Process to Case
- How to import DAP assets
- How to trigger DBO Process to Case, Case to Process
- How to view the process instances and Agile Apps cases
About DBO and DAP Products:
DBO is the new Process Engine formally known as interpreted Process Engine. DBO and DBM will slowly replace classic Process Engine and Optimize respectively. Most of the DBO features will align to BPMN standards. All upcoming features will be implemented in new systems rather than classic/legacy systems.
Process Engine support will continue for few more years. The intention is to support migration in a limited form for the 10.1 (2017Oct) release.
- Web Based Process Monitoring is implemented through Business Console UI with additional features like Breakpoint, Pause, Insert Dynamic Process, Resume.
- New Instance and Step Statuses are added for better monitoring
- Existing non-BPMN and conflicting features like Runtime configurations (Optimize locally), Error Handler configurations under Process Properties, etc has been removed
- The mapping service functionality is deprecated
- Introduced Custom IDs, single IS node execution, single Process Model file (which includes all the definitions including flow services), service protocol for DES events, Moving Asset Generation to Runtime (so only Upload Process which takes very less time), Moving Dead path to Runtime, mandate Gateways, better Error handling mechanisms, Resubmit option for every step, etc.
- Install DAP Agile or Enterprise Edition Products : IS, MWS, DBO, Designer, AgileApps, UM (Optional: DES, Optimize) (Refer iwiki)
- After installation, start IS, MWS, UM servers.
- Refer iwiki and complete post-installation steps for:
4. Enable sso between MWS and AgileApps : Add below line at the end of the MWS wrapper file as mentioned in iwiki:
Simple DBO Process To Case:
Login to Agile Apps [ https://<MachineName>.eur.ad.sag:8284/networking/servicedesk/index.jsp] with default tenant credentials.
- Tenant name: Administrator
- Tenant password: manage
- <This step is default in latest versions> Configure IS: AgileApps->Settings->Account Management -> DAP Configuration. Enter Administrator/manage
- Create Case Type object with required fields and forms within Service desk application. Settings > Case Types > New Case Type
- If needed Case type object could be created in new application. Create Application: Settings-> Applications->Create New Application
- In the Designer, Create DBO process with start document (from IS) and case step
- Under Palette > Activities “Case Task” step is seen, drag and drop it into needed DBO process.
- Click on Case Task step and Go to Properties > Implementation, Browse for created case type object in step2
- Under pipeline view map start document fields with case fields as needed so field values are propagated in the process
- Save the process
6. Upload DBO process and trigger its instance by publishing start document with some values.
7. In Agile Apps verify that case type record is created. Set status of the case type record to “Closed”.
8. Verify that process instance gets completed on closing case record in Business Console.
Importing DBO and AgileApps Assets:
Lets see how to import DAP assets and trigger DBO to Case and vice versa. Download the attached files.
- Import DBO Project assets in Designer (DBOCaseProjects.zip) : if required, repair Task and upgrade Rules projects
- Import IS package (DBOCasePackage.zip) ->
Copy this zip file to C:\SoftwareAG\IntegrationServer\instances\default\replicate\inbound. Open IS (http://localhost:5555), Packages ->Management->Install Inbound Releases -> Select the package and Install
- Import AgileApps Package:
- Login AgileApps https://localhost:8284/networking/servicedesk/index.jsp using Administrator/manage
Configure IS. Settings->Account Management -> DAP Configuration. Enter Administrator/manage
- Click on settings→Application Management → packages → Install from file.
Trigger DBO Process To Case
- In Designer, Open DBO Perspective. Connect IS Server. (Windows->Preferences->Software AG-> Integration Servers)
- If Task step is involved, connect MWS Server (Window->Show View->Others->Servers : Sysadmin/manage can be given if prompted)
- Sync IS Documents : Package Navigator -> Select Default (IS Node) -> File -> Sync Document Types -> Sync All
- Open DBO Process: Solutions-> DBOCaseProject/DBOCaseProcess1 and upload the process.
Note: Task and Rule step can be deleted from the process model if not required. And upload the process model.
- Trigger IS Document DBOCaseShipment.docs.request:OrderDocAllDataTypes. Since it is DES Document, trigger using flow service DBOCaseShipment.utils:PublishOrderDocAllDataTypes. Right Click -> Run As-> Flow Service. Click Load and Replace with file OrderDocAllDataTypes_InputFinal.txt. Set Quantity as 1002.0 (>1000 to trigger Case)
7. If Process does not trigger, check IS Server logs for errors. Make sure no errors under WmDBO IS Package home.
Monitoring from Business Console and AgileApps
- Open BC https://localhost:8586/business.console.dbo#/processes/
- Open latest instance of the DBO Process DBOCaseProcess1. Process would be running due to a Case Step which has to be Closed.
- There is a Case step with navigation link. Click on it to see Case details.
- Update few details if required and Mark Closed.
- Same Case can be seen from BC Home Tab (WHN).
- Same Case can be seen from AgileApps.
- Process will continue and Completes.
Case To Process
- Same Case is configured with another DBO Process.
- So whenever AgileApps Case is created, it triggers another DBO process if condition meets.
- On clicking the triggered DBO process, it navigates to Monitor DBU page
- Case completes with updated pipeline from DBO Process. DBO Process here completes with updated pipeline from Case.
DBO replaces Process Engine for BPMN process, Business Console replaces MWS for monitoring, DBM will replace Optimize for Analytics.
These new products are cloud-enabled to align with WebMethods Product suite which is moving towards cloud.
Dec3_DBOProcessToCase.zip (199 KB)