Overview
Use Form Actions to run reusable logic when someone interacts with a form. For example, a Generate details button can pass purchase lines to a service that returns an HTML table for a later step.
Publish the service before configuring the action. Create and Manage Custom Services
Add Invoke Custom Service Action
Create or open the action the user will trigger. Form Actions
Steps
Open your form in the Form Designer and select the Action icon in the top bar.
Open an existing action or create one.
Select Add a step, then Invoke custom service.
Configure Invoke Custom Service Action
Set an Execution Condition if needed, then select the Service. Yeeflow displays the connection, input, and output variables defined by that service.
Configure Execution Condition
Use Execution Condition to control when the service runs. In the purchase example, require at least one detail line before calling the service. If Continue next step when condition is not met is enabled, make sure later steps handle the case where this call was skipped. Execution Condition of Actions
Select Service
In Service, search for the published service by name. Use All, App for this application, or Shared to narrow the list. For this example, select Sub List to HTML Table.
To edit or publish a service, select Manage services or open Application Settings → Integrations → Custom services. Create and Manage Custom Services
Configure Service Variables
Check each variable's name and data type before mapping it. In this example, the service expects text in subListJson and returns text in htmlTable.
Connection variables
Fill in the connection variables the service declares. The example service shows No variables under Connection variables.
Input variables
Map each input to a form field, Sub List field, prior action output, or another value of the expected type. In this example, pass the purchase detail rows as valid JSON array text in subListJson. To build a value from several fields, use the Expression Editor.
Configure Output Variables
Map returned values to variables available to later steps. For this example, map htmlTable to a text variable such as Purchase Details HTML. To display a rendered table, pass the value to a target that accepts HTML.
Add Additional Action Steps
Add the next step after Invoke custom service. Use the mapped output to update a form value, prepare a notification, or pass data to another action. If the service can be skipped, check that the next step handles an empty output and uses the result from the current run. Form Actions
Save and Publish Form Action
Save the action and attach it to the button or event users will trigger.
Test with two purchase lines. Check that the returned table has both rows and the expected columns. If a text identifier has a leading zero, check that it survives the mapping.
Test an empty form to make sure the execution condition skips the service. If the next step continues, confirm it handles the missing output.
Publish the form and repeat the normal case with a user who has the intended form access.
Troubleshooting
Check the service, its input, and its output in that order.
The Custom Service is not available
Check that the service is published, visible in the current application or shared with it, and available to your account.
Input variables cannot be mapped
Check that the selected service declares the input, that the value is available when the action runs, and that the types match.
Output values are empty
Use a test record that meets the execution condition. Confirm the service returns the expected value and that the action maps it to the same variable the next step reads.

