30.01.2015 Views

Designing processes - EMC Community Network

Designing processes - EMC Community Network

Designing processes - EMC Community Network

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

at or right after the service invocation step. As a recommended best practice, as you build up your<br />

<strong>processes</strong>, particularly with web services integration activities, regularly test them with the debugger.<br />

Use the debugger every time you change the process to ensure the integrity of data that may have<br />

changed.<br />

Debugging custom methods with the process<br />

debugger<br />

If you are using custom methods in your workflows, you can debug them using the process debugger.<br />

To debug a custom method:<br />

1. Launch Process Builder in debug mode.<br />

2. Modify the shortcut to add debug options and enable debugging using the specified port.<br />

For example:<br />

-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n<br />

The complete shortcut may look similar to the following:<br />

C:\Program Files\Documentum\jreForPB\bin\java.exe"<br />

-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n<br />

-Xms128m -Xmx256m -Dswing.aatext=true -cp ".;lib\bpm.jar;..\..\dctm.jar;<br />

C:\Documentum\config" WorkflowEditor -locale en_US<br />

3. In your integrated development environment (IDE), add a new debug configuration to connect<br />

the host and port.<br />

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

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

Saved successfully!

Ooh no, something went wrong!