Posts

Showing posts from February, 2022

Workflows adding content for use in conditions

Image
Workflows adding content for use in conditions Workflows in Dynamics and FO I lacked experience with. A customer wanted more data to choose from in conditions when making decisions. Customer requirements     Purchase requisition workflow, need the workflow to auto approve if the purchase orders attached projects manager is the approver.  This meaning, that a project manager should not need to approve his own purchase order, it should auto approve. The workflow does not have other project data than project ID, with our customer the project ID will always be used in purchase orders. So we can fetch wanted field from the project table named WorkerResponsible . So this is straight forward and not complicated at all (ironic). Spent a few hours investigating and found two ways in achieving the customers requirements. My investigations resulted in two possible solutions Extend the Query used, outer join project table to it. Create a computed field in the document class of the workflow Identif