Your business process needs an interface of its own that
takes a string for the caller's gender as input and returns the
final concatenated result string.
About this task
Your human task also needs its own interface. It will take
a string as input and will be displayed in the user interface form
of the claimed task, which will prompt the user for their given name
and family name and return it as output from the human task after
it is completed.To create the two new interfaces in the existing
HelloWorldLibrary library project:
Procedure
- Create the interface for the business process by completing
the following steps:
- In the Projects section of the
Business Integration view, expand HelloWorldLibrary.
then right-click the Interfaces category and
select New > Interface. The New Interface wizard
opens.
- In the Name field, type HelloWorldProcess and
then click Finish. The interface editor opens.
- In the Operations section, click
the Add Request Response Operation icon to
add a request response operation, then rename the default name operation1 to startHelloWorldProcess.
- Change the default input name from input1 to gender and
change the default output name from output1 to result.
The interface should now resemble the following figure:
- Press Ctrl+S to save the interface
and then close the interface editor.
- Create the interface for the business process by completing
the following steps:
- In the Projects section of the
Business Integration view, expand HelloWorldLibrary,
then right-click the Interfaces category and
select New > Interface. The New Interface wizard
opens.
- In the Name field, type HelloWorldTask and
then click Finish. The interface editor opens.
- In the Operations section, click
the Add Request Response Operation icon to
add a request response operation, then rename the default operation
name operation1 to getName.
- Right-click anywhere in the Outputs row
and select Add Output. A new output is added
that is named output2.
- Change the default input name from input1 to gender.
- Change the default output name output1 to firstName and
then change the default output name output2 to lastName.
The interface editor should now resemble the following figure:
- Press Ctrl+S to save the interface
and then close the interface editor.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15