Skip to main content
Question

Workflow condition error

  • May 6, 2026
  • 11 replies
  • 105 views

RakeshChangeshpur
Sidekick (Partner)
Forum|alt.badge.img+10

Hi Team,

I am trying to create a workflow which reads the Material Requisition and when the part is being issued verifying if the part belongs to inventory part and check the stock 

 

If the available quantity is <50 then create a Purchase Requisition 

 

when i tried to debug i see this below error and couldnt proceed further on this

 

Any leads would be much appreciated, TIA

 

Regards,

Rakesh

 

11 replies

Forum|alt.badge.img+9
  • Hero (Employee)
  • May 6, 2026

@RakeshChangeshpur 

what is the condition expression that is causing the error (expression going to the verify stock gateway) ? the screenshot is not clear on that


Forum|alt.badge.img+9
  • Hero (Employee)
  • May 6, 2026

you can set conditional expression on flows like this 

 


RakeshChangeshpur
Sidekick (Partner)
Forum|alt.badge.img+10

you can set conditional expression on flows like this 

 

yes thats how i added to check on the onhandqty


RakeshChangeshpur
Sidekick (Partner)
Forum|alt.badge.img+10

@kamnlk -please refer the screenshots below

Read MMR
Read Part Details
​​​​​​
Condition to verify the Part is Inventory Part

 

I am getting the value for Part Catalog Exist and still it errors out 

 


Abdul
Superhero (Partner)
Forum|alt.badge.img+20
  • Superhero (Partner)
  • May 6, 2026

Hi ​@RakeshChangeshpur,

I am not sure why workflow is required for your business scenario since there is already OOTB Order Proposal functionality to create Purchase Requisition with desired Order Point.

I will suggest please consider Order Proposal functionality.

 

Regards

Abdul Rehman


RakeshChangeshpur
Sidekick (Partner)
Forum|alt.badge.img+10

Hi ​@RakeshChangeshpur,

I am not sure why workflow is required for your business scenario since there is already OOTB Order Proposal functionality to create Purchase Requisition with desired Order Point.

I will suggest please consider Order Proposal functionality.

 

Regards

Abdul Rehman

@Abdul  Exploring the Workflows concept , nothing such as requirement or business scenario 

Applying some conditional checks and validating some data and calling the IFS api to create records with above mentioned purpose


Forum|alt.badge.img+9
  • Hero (Employee)
  • May 6, 2026

@RakeshChangeshpur 

thanks for the details, can you also share screenshots of the following items as well. it seems like its correctly processing the Part Catalog Exist logic the error comes after that

 


RakeshChangeshpur
Sidekick (Partner)
Forum|alt.badge.img+10

@kamnlk here you go 

 

 


RakeshChangeshpur
Sidekick (Partner)
Forum|alt.badge.img+10

@kamnlk 

 

 


RakeshChangeshpur
Sidekick (Partner)
Forum|alt.badge.img+10

I was able to resolve the error by adding another script element and reading the value for the previous condition such as 

 


Forum|alt.badge.img+9
  • Hero (Employee)
  • May 7, 2026

@kamnlk 

 

 

 

the original issue was the condition is set incorrectly in the gateway. these are the supported formats