App result
Description
This action sends the result of a flow to an App Studio app. You must configure how the result will be displayed in App Studio.
This example shows the result of the flow displayed in two Text components. The flow is triggered when the Do button is selected. The Button component is configured with a Trigger flow event.
Usage
Create a flow with the App trigger and add the App result Action. Typically you will add this action after performing another action to collect its output and send it to the App Studio app. In this example the App result action sends a Success message with the Unit4Id resolver action output.
Input
The action input has the following two values:
-
Success/Failure: Send a Success or Failure message to the App Studio app. If your flow requires it, you can set filters for both scenarios. First, add a filter with the success conditions and then add the App result action with the Success input. Second, add another filter with the failure conditions and then add another App result action with the Failure input.
-
Content: A JSON with the output generated in previous steps. In this example, the JSON includes the Unit4 Id and Name generated by the Unit4Id resolver action. You can write the outputs in Liquid or use the Plus (+) button to display a dropdown and choose them to automatically generate the Liquid for you.
Note: This action has no real output. Use combined with other actions.