A Broadway Actor represents an action that is executed on a Stage of the Broadway flow to get input parameters and return output parameters. For example, reading a file, creating a table, parsing an object or concatenating a string.
Broadway offers a number of built-in Actors which address a wide range of predefined activities that can be added to Broadway flows.
When a flow requires business logic that is not supported by a built-in Actor, a JavaScript Actor can be used which executes the JavaScript code provided in the script Input parameter. Alternatively, you can use the LuFunction Actor to invoke Java functions or build your own Java Actor.
This article describes the following options for working with Actors:
To learn about more complex scenarios, such as creating or editing an Actor, refer to the Actor Editor article.
To add an Actor to a Stage in a Broadway flow:
A flow can be packaged and then reused as an inner flow in another flow. For example, an inner flow that handles errors. This is an excellent solution for reusing business logic and for avoiding complex flows with many steps.
To save a flow as an Actor, click Actions > Save as Actor in the Main menu of the Broadway flow window.
An Actor can be exported to create another Actor that inherits the current Actor’s logic. By doing so, specific business logic can be reused in different places in the flow. Once exported, the new Actor is added to the list of built-in Actors.
To export an Actor, click Export Actor in the Actor's context menu.
Dynamic Logic Actors include dynamic logic as one of their input parameters. The most frequently used Actors include:
The description of the Actor is part of the Actor's file. A remark is a user's comment added during the flow implementation.
When exporting an Actor, the Actor's remarks are copied to the description of the new Actor type.
Click in the right corner of the Actor to open the Actor's context menu and select Description to view the description of the Actor type. The Description window is displayed in a read-only mode as in the following example:
To add your own remark to an Actor, select Remark in the Actor's context menu. Once there is a remark you can pull it up by clicking the green asterisk.
To delete a remark, remove its text and close the remark.
A Broadway Actor represents an action that is executed on a Stage of the Broadway flow to get input parameters and return output parameters. For example, reading a file, creating a table, parsing an object or concatenating a string.
Broadway offers a number of built-in Actors which address a wide range of predefined activities that can be added to Broadway flows.
When a flow requires business logic that is not supported by a built-in Actor, a JavaScript Actor can be used which executes the JavaScript code provided in the script Input parameter. Alternatively, you can use the LuFunction Actor to invoke Java functions or build your own Java Actor.
This article describes the following options for working with Actors:
To learn about more complex scenarios, such as creating or editing an Actor, refer to the Actor Editor article.
To add an Actor to a Stage in a Broadway flow:
A flow can be packaged and then reused as an inner flow in another flow. For example, an inner flow that handles errors. This is an excellent solution for reusing business logic and for avoiding complex flows with many steps.
To save a flow as an Actor, click Actions > Save as Actor in the Main menu of the Broadway flow window.
An Actor can be exported to create another Actor that inherits the current Actor’s logic. By doing so, specific business logic can be reused in different places in the flow. Once exported, the new Actor is added to the list of built-in Actors.
To export an Actor, click Export Actor in the Actor's context menu.
Dynamic Logic Actors include dynamic logic as one of their input parameters. The most frequently used Actors include:
The description of the Actor is part of the Actor's file. A remark is a user's comment added during the flow implementation.
When exporting an Actor, the Actor's remarks are copied to the description of the new Actor type.
Click in the right corner of the Actor to open the Actor's context menu and select Description to view the description of the Actor type. The Description window is displayed in a read-only mode as in the following example:
To add your own remark to an Actor, select Remark in the Actor's context menu. Once there is a remark you can pull it up by clicking the green asterisk.
To delete a remark, remove its text and close the remark.