Skip to content

Commit

Permalink
Update passing-data-task-to-task.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RizaFarheen committed Apr 7, 2023
1 parent 53f6b82 commit 67fb46f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/guides/passing-data-task-to-task.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,16 +201,21 @@ This results in **"variable_name": "Orkes"**.
JSONPath error messages occur when there is an issue with the JSON expression due to incorrect syntax or an invalid path.

**2. What happens when an incorrect task reference name is provided in the JSON expression?**

The task reference names should be unique in a workflow. You may get errors while executing the workflow if you have provided an incorrect task reference name.

**3. What happens if my JSONPath expression is incorrect?**

Incorrect JSONPath expressions may result in a null value instead of the expected output.

**4. How can I check if the data was passed correctly?**

You can verify if the data was passed correctly by checking the input/output fields of the task.

**5. Can I hard code inputs?**

Yes, you can provide hard-coded inputs. This becomes useful when you have a reusable task with configurable options that can be applied in different workflow contexts.

**6. When should I use Set Variables (Global Variables)?**

Set Variable can be used when you need to store a variable and use it later across different tasks & workflows.

0 comments on commit 67fb46f

Please sign in to comment.