How to add a Dynamic value as a collection in DHF5 flows source query

52 Views Asked by At

I have a requirement to add current date as a collection in DHF5 flows source query. How to achieve this

1

There are 1 best solutions below

0
rjrudin On BEST ANSWER

You can use sourceQueryIsScript as described at https://docs.marklogic.com/datahub/5.7/flows/about-flows.html . That script can then reference and variable in the options for a step, which includes options provided at runtime when you run the flow.