Function inputs
Similar to a function in a workflow, you can provide the input values to a function manually or programmatically.
When you select a function in the playbook library, the details panel lists the names of the inputs in the Function inputs section. In the following example, there are two input fields.
If you select a function on the canvas, the panel also shows the inputs. If the function inputs is set to Fields, you see the value for each input field. These are constant values.
If the function inputs is set to Script, you see the code of the input script. An input script dynamically retrieves a value for each input field. The input script can access the result of a function, or a property value entered by a script. An input script can only read incident values. It cannot perform activities such as changing incident values and adding artifacts. For details on input scripts, see Function input script.