A Broadway Actor can be extended to create a new Actor type using the Export Actor functionality.
When an Actor is exported, a new Actor inherits its logic and arguments and also extends it with additional functionality whereby specific business logic can be reused in different Broadway flows. For example, to format all dates using the same pattern, set a specific pattern in the DateFormat Actor and then export the Actor to reuse it in various Broadway flows.
When exporting the Actor each input and output argument can be set as hidden or final.
This setting is optional where if hidden or final are not set, the argument remains as is in the inherited Actor.
Add an Actor to the flow and update its arguments and/or logic. For example, add a DateFormat Actor and set its format input argument to 'E dd-MM-yy HH:mm a' and the time zone to Israel. Using these settings, the string output argument is displayed as 'Thu 06-08-20 15:30 PM'.
Click > Export Actor in the Actor's context menu to open the Export Actor pop-up.
Populate the new Actor's Name as myDateFormat.
Optional: override the Tag to create a new Actor in a new (different) category.
Optional: set the hidden or final value for each input or output argument.
Click SUBMIT.
The new myDateFormat Actor is created and inherits from the DateFormat Actor type. The myDateFormat Actor can be reused by any Broadway flow in Fabric.
Once the inherited Actor is created, it is added to the list of Actors and can be added to a Stage in the current or another flow.
The Actor's input and output arguments in the Properties window can be filtered using the Parameter's filter to display only the inherited Actor's arguments, or only the ancestor's arguments or all.
An inherited Actor can be modified for two reasons:
The difference between the two reasons is whether the inherited Actor is overridden or not. If the Actor needs to be updated, it is overridden.
To override an extended Actor, do the following:
Click > Export Actor in the Actor's context menu to open the Export Actor pop-up.
Check override current. The name is prepopulated with the Actor's name and is read-only.
Optional: override the Tag to create an Actor in a new (different) category.
Optional: set the hidden or final value for each input or output argument.
Click SUBMIT to save the changes.
To extend the behavior of the exported Actor, do the following:
Click > Export Actor in the Actor's context menu to open the Export Actor pop-up.
Populate the new Actor's name.
Optional: override the Tag to create an Actor in a new (different) category.
Optional: set the hidden or final value for each input or output argument.
Click SUBMIT to save the changes.
A Broadway Actor can be extended to create a new Actor type using the Export Actor functionality.
When an Actor is exported, a new Actor inherits its logic and arguments and also extends it with additional functionality whereby specific business logic can be reused in different Broadway flows. For example, to format all dates using the same pattern, set a specific pattern in the DateFormat Actor and then export the Actor to reuse it in various Broadway flows.
When exporting the Actor each input and output argument can be set as hidden or final.
This setting is optional where if hidden or final are not set, the argument remains as is in the inherited Actor.
Add an Actor to the flow and update its arguments and/or logic. For example, add a DateFormat Actor and set its format input argument to 'E dd-MM-yy HH:mm a' and the time zone to Israel. Using these settings, the string output argument is displayed as 'Thu 06-08-20 15:30 PM'.
Click > Export Actor in the Actor's context menu to open the Export Actor pop-up.
Populate the new Actor's Name as myDateFormat.
Optional: override the Tag to create a new Actor in a new (different) category.
Optional: set the hidden or final value for each input or output argument.
Click SUBMIT.
The new myDateFormat Actor is created and inherits from the DateFormat Actor type. The myDateFormat Actor can be reused by any Broadway flow in Fabric.
Once the inherited Actor is created, it is added to the list of Actors and can be added to a Stage in the current or another flow.
The Actor's input and output arguments in the Properties window can be filtered using the Parameter's filter to display only the inherited Actor's arguments, or only the ancestor's arguments or all.
An inherited Actor can be modified for two reasons:
The difference between the two reasons is whether the inherited Actor is overridden or not. If the Actor needs to be updated, it is overridden.
To override an extended Actor, do the following:
Click > Export Actor in the Actor's context menu to open the Export Actor pop-up.
Check override current. The name is prepopulated with the Actor's name and is read-only.
Optional: override the Tag to create an Actor in a new (different) category.
Optional: set the hidden or final value for each input or output argument.
Click SUBMIT to save the changes.
To extend the behavior of the exported Actor, do the following:
Click > Export Actor in the Actor's context menu to open the Export Actor pop-up.
Populate the new Actor's name.
Optional: override the Tag to create an Actor in a new (different) category.
Optional: set the hidden or final value for each input or output argument.
Click SUBMIT to save the changes.