Greetings
This task launches a routine on the Backend Service to log a 'Hello' message..
@Bean
public ScriptedTaskDescription helloWorldTask() {
ScriptedTaskDescription task = new ScriptedTaskDescription("HelloWorldTask", "*Greetings (a sample)");
task.setDescription("Launch a backend routine to log a 'Hello' message.");
task.getScript()
.addStatement(AskInputStatement.of("name", true, ParameterTypes.TEXT, "The name of the person to greet."))
.addStatement(ExecuteRoutineStatement.of(StringExpression.of("HelloWorld"))
.withInput(VariableAccessExpression.of("name")));
return task;
}