add configurable default and maximum values for query workflow instances