title | weight |
---|---|
Log |
4615 |
This activity allows you to write log messages.
This activity comes out of the box with the Flogo Web UI
flogo add activity github.com/TIBCOSoftware/flogo-contrib/activity/log
Inputs and Outputs:
{
"input":[
{
"name": "message",
"type": "string",
"value": ""
},
{
"name": "flowInfo",
"type": "boolean",
"value": "false"
},
{
"name": "addToFlow",
"type": "boolean",
"value": "false"
}
],
"output": [
{
"name": "message",
"type": "string"
}
]
}
Setting | Required | Description |
---|---|---|
message | False | The message to log |
flowInfo | False | If set to true this will append the flow information to the log message |
addToFlow | False | If set to true this will add the log message to the 'message' output of the activity and make it available in further activities |
message | False | The message that was logged |
The below example logs a message 'test message':
{
"id": "log_3",
"name": "Log Message",
"description": "Simple Log Activity",
"activity": {
"ref": "github.com/TIBCOSoftware/flogo-contrib/activity/log",
"input": {
"message": "test message",
"flowInfo": "false",
"addToFlow": "true"
}
}
}