Commit dff579e
authored
Only return form related task data for human tasks (#2654)
If a user task is configured with a `variableName`, limit the task data
in the api response to only contain that key. This piggybacks on the
previous `variableName` work to not leak irrelevant task data.
I'm still auditing endpoints but this appears to be working and should
be safe to merge since it is only in play if a `variableName` is
configured.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Improvements**
* Enhanced task data handling with support for variable name extensions
in task configurations, enabling better organization and structure of
task-related information.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent a68ef0e commit dff579e
File tree
1 file changed
+4
-0
lines changed- spiffworkflow-backend/src/spiffworkflow_backend/routes
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
753 | 753 | | |
754 | 754 | | |
755 | 755 | | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
756 | 760 | | |
757 | 761 | | |
758 | 762 | | |
| |||
0 commit comments