Hi! Um, can you give some simple steps I can use to reproduce this behavior? I executed a simple workflow like this on version 18.104.22.168 but it's not behaving exactly the way you described:
Note that if you have an 'On Error' variable the tool won't throw any errors.
Have you considered using mocks? The database will not be called if the database activity is replaced with a mock in the test. When the test is run the mocked activity will always output the provided data and never actually call the database.
DAL workflow works when run on it's own, but not when it is a sub-workflow?
The test still works fine though...
Screenshot taken from Warewolf 22.214.171.124
I'm not sure I understand. In my experience the test execution goes by the order the tools are executed in the workflow. For me, it always finds the correct assert/mock no matter what order the asserts/mocks are in. Can you give some example workflows and tests to demonstrate this behavior more clearly?
I have reposted this private ticket so the rest of the community can learn from it.
Json data is handled in Warewolf as object variables, see: https://warewolf.io/knowledge-base/articles/the-warewolf-esb-syntax/#:~:text=up%20to%20%E2%80%9Cn%E2%80%9D-,Objects,-The%20notation%20forObject variables can be set as inputs using the variable list, see: https://warewolf.io/knowledge-base/articles/the-variable-list/ Once they are inside your workflow they can be manipulated using the Assign Object, and Select and Apply tools, see: https://warewolf.io/knowledge-base/articles/tool-connectors/#:~:text=%C2%A0Data-,Assign%20Object,-Use%20the%20AssignNew json objects can be created using the Create Json tool, see: https://warewolf.io/knowledge-base/articles/tool-connectors/#:~:text=the%20Staff()%20recordset.-,Create%20Json,-Use%20the%20CreateThen you can use the Web Service tool to make a HTTP POST request with the json object in the body, see: https://warewolf.io/knowledge-base/articles/the-web-service-tool/
Customer support service by UserEcho