Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Refactoring Service Processes and Service Process Interfaces

You can convert an existing business, pageflow or sub-process into a service process or, alternatively, a service process into a business, pageflow or sub-process. You can also refactor a service process interface into a process interface, and vice versa.

There are some activities that are not supported in a service process or service process interface. If the business process or pageflow process you want to convert to a service process contains any of the unsupported activities, validation errors occur. To avoid validation errors, you must remove any of the unsupported activities before conversion.

The following activity types cannot be used:

Activity Type | Description
--- | ---
Incoming request event | An incoming request event might be waiting to be triggered for an arbitrary period of time.
Signal event handlers | A signal event handler event might be waiting to be triggered for an arbitrary period of time.
User Tasks | No direct user interaction with a service process is supported.
Attached sub-process calls to non-service process types | Service processes can only synchronously invoke other service processes. However, they can asynchronously invoke conventional stateful business processes.
Non-boundary timers | Timers that pause rather than monitor the execution of a thread of the service process are not supported.

Right-click the business, pageflow or sub-process you want to convert and select Convert to service process. In the same way, you can convert a service process to a business process or pageflow process.

You can also refactor a service process interface into a process interface by right-clicking a service process interface and selecting Convert to Process Interface. Similarly, you can convert a process interface into a service process interface by selecting a process interface and selecting Convert to Service Process Interface. When you convert a process interface into a service process interface, the deployment target is automatically set to Deploy to Process Run-time so, if you want your converted service process interface to implement service processes deployed to the pageflow engine, you must go back and configure this in the service process interface after conversion.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Business Studio™ - BPM Edition

Copyright © 2015-2023. Cloud Software Group, Inc. All Rights Reserved.