I’ve created a sample workflow from a Projection Action; following the instructions from DSJ’s blog posts which worked using the below:
SupplierInfoGeneral_Default():SupplierInfoGeneral
I’ve then tried to apply the same techniques to a new Instant Invoice - using the below Projection call. This however is not being triggered, even tried using a deliberate faulty javascript to force an error.
Can you give bit more context on how is the projection being called? from ifs cloud ui ?
For troubleshooting steps for workflows you try the following options and see,
You can enable observations for the workflow and see if you get any observations recorded, this is one way to see if the workflow is actually triggered. ref workflow_observations
I navigated to Instant Invoice and clicked the + button whilst having my network window open. This provided me a projection call that I couldn’t exactly match within the Workflow’s Projection Action dropdown, I found a very similar call though.
Could it be because within the call there is: Collection(Company) which is absent from the similar Supplier call?
I’ve enabled observations for both my Supplier & Instant Invoice workflow. Only my Supplier workflow is populating observations, so it seems my Instant Invoice workflow isn’t being triggered.