Solved

Error in Workflow

  • 24 January 2024
  • 1 reply
  • 121 views

Badge +3

 

Hi,
I’m trying to create Maintenance Purchase Requisition lines using  a workflow and I’m getting below error("Failed to create the entity as it would be unreachable from the current path").
Steps:

1.    Created a WO
2.    Added a WT under the WO
3.    Create Maintenance Purchase Requisition from WT.
4.    Read my custom table data(Read SNOW Details)
5.    Create Purchase Requisition lines  using my custom table data.
 

Many thanks for your inputs on this issue.
Best regards,
Uvini

icon

Best answer by Rifki Razick 24 January 2024, 10:37

View original

1 reply

Userlevel 4
Badge +9

Hi @EntUviniG 

This is most likely due to how the APIs have been designed to work than the Workflow/BPA functionality itself. It seems like the the record you are trying to create will get filtered out in a subsequent read operation. Therefore the API prevents you from creating a record that you cannot access. This can be due to the values in your payload as well as some where condition in the underlying datasource.

You can verify this by calling the API with the same payload from a tool like Postman using the same user credentials.

Thanks,

/Rifki

Reply