Skip to main content

Hi all,

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. 

InstantInvoice_Default(Collection(Company)):InstantInvoice

Any tips on next steps to troubleshoot?

Kind regards,

Josh

Hi,

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

from 23r2 onwards you can also use trace detail logs on ifs dev tools to see if the workflow is getting triggered as well. ref: Workflow Tooling - Technical Documentation For IFS Cloud


Hi Kamnlk,

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.

Network Window

IFS/main/ifsapplications/projection/v1/InstantInvoiceHandling.svc/InstantInvoiceSet/IfsApp.InstantInvoiceHandling.InstantInvoice_Default(Company='001')

Nearest Match within Projection Action

InstantInvoice_Default(Collection(Company)):InstantInvoice

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.

Kind regards,

Josh


Reply