Hi Sravan, Could you please explain why can't we call a sub flow using the lookup function.
@RAJANSINGH-bc5xz2 жыл бұрын
same doubt
@karshak2 жыл бұрын
If we use the lookup function To fetch the value based on key, when key not available, getting the error in private flow as key not available, but in the dataweave is giving mule expression error
@neelamchhipa56253 жыл бұрын
Can you help me in how to test lookup functionality using mUnit test case
@MuleSoftTechZone3 жыл бұрын
U don't have to specially mock lookup. As it's part of Dataweave. If your lookup is calling a private flow that has database operation, then mock that database with test data. That's it
@neelamchhipa56253 жыл бұрын
@@MuleSoftTechZone I am getting Error relatee unable to find flow used in lookup
@neelamchhipa56253 жыл бұрын
Tried with simple flows not having any Database calls but getting this error whereas the same code is working fine when testing directly
@ravivarma38643 жыл бұрын
hi, i have a variable in the subflow so how can i call that variable into the DW