I created a pipeline with a condition module and an action module. While coding for the condition and action modules, I need to pass some data from a different document to the condition module so that the expected condition could be evaluated to True or False.
For example, I have two policy documents (P1 and P2) in my DB and I am updating document P1. The condition I want to check before invoking action module is whether the Policy Effective date of P1 is greater than Policy Effective Date of P2. I understand that the document P1 is available in both condition and action modules through the $cpf-uri variable, but not able to pass the values from P2 document to the condition/action module.
Is there a way to pass parameter values to condition and action modules in a pipeline?
Thanks in advance!