Designing processes - EMC Community Network

Designing processes - EMC Community Network Designing processes - EMC Community Network

community.emc.com
from community.emc.com More from this publisher
30.01.2015 Views

Designing the Process at or right after the service invocation step. As a recommended best practice, as you build up your processes, particularly with web services integration activities, regularly test them with the debugger. Use the debugger every time you change the process to ensure the integrity of data that may have changed. Debugging custom methods with the process debugger If you are using custom methods in your workflows, you can debug them using the process debugger. To debug a custom method: 1. Launch Process Builder in debug mode. 2. Modify the shortcut to add debug options and enable debugging using the specified port. For example: -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n The complete shortcut may look similar to the following: C:\Program Files\Documentum\jreForPB\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n -Xms128m -Xmx256m -Dswing.aatext=true -cp ".;lib\bpm.jar;..\..\dctm.jar; C:\Documentum\config" WorkflowEditor -locale en_US 3. In your integrated development environment (IDE), add a new debug configuration to connect the host and port. 56 EMC Documentum xCelerated Composition Platform Version 1.6 Best Practices Guide

Designing the Process 4. Place breakpoints in your code, run this debug configuration from your IDE, and begin debugging your process from Process Builder. Whenever an activity that uses your custom method is reached, you can debug through your custom method code. Note: To make the method code available to the process debugger, it must be a Class that is located in the appropriate directory structure or a JAR file located under \classes\custom folder in the Process Builder installation directory. Process design and Business Activity Monitor (BAM) BAM extracts information from executing processes, runs reports against this information, and provides a dashboard for viewing the reports. Plan to specify the monitoring configuration as you design your process in Process Builder. If you plan on using BAM, you must plan for: • Enabling reporting for BAM, page 58 • Reporting on data in an external database to BAM, page 59 EMC Documentum xCelerated Composition Platform Version 1.6 Best Practices Guide 57

<strong>Designing</strong> the Process<br />

4. Place breakpoints in your code, run this debug configuration from your IDE, and begin debugging<br />

your process from Process Builder.<br />

Whenever an activity that uses your custom method is reached, you can debug through your<br />

custom method code.<br />

Note: To make the method code available to the process debugger, it must be a Class that is<br />

located in the appropriate directory structure or a JAR file located under \classes\custom folder in<br />

the Process Builder installation directory.<br />

Process design and Business Activity Monitor<br />

(BAM)<br />

BAM extracts information from executing <strong>processes</strong>, runs reports against this information, and<br />

provides a dashboard for viewing the reports. Plan to specify the monitoring configuration as you<br />

design your process in Process Builder. If you plan on using BAM, you must plan for:<br />

• Enabling reporting for BAM, page 58<br />

• Reporting on data in an external database to BAM, page 59<br />

<strong>EMC</strong> Documentum xCelerated Composition Platform Version 1.6 Best Practices Guide 57

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!