Skip to main content
Solved

BPA Projection Workflow to add or replace a value

  • February 20, 2025
  • 2 replies
  • 61 views

Forum|alt.badge.img+1

I am trying to create a before workflow that will change or add a value for a custom field on Purchase Order Header entered by the user or left blank at the creation of a purchase order. 

I got the change part to work but is struggling with he ‘add value’ part.
If the custom field is left blank during the creation of the order, no value for the cf is passed to the workflow . Not even information that the value for the cf is null.

Does anyone know how to have the workflow to add a variable on the way to the original projection call?
I tried to just usign a workflow with script component to add the value and I can see the value in the observation but that isn’t added to the projection call.
I would like to avoid just to update the record after creation as the user then has to refresh the record every time a po is created to see the value in the cf.
The value for a cf is fetched from another place in the system and is not the same every time so a dafault value for the cf will not work.

 

We are in  Cloud 24r2

Best answer by kamnlk

hi ​@CurAnneaL 

From what you have described you could use a process enrichment task to get the behavior

first declare the variable as you are doing in the script task, then declare the variable in the IFS Process Enrichment task to make it export from the workflow 

 

ref: IFS Process Enrichment - Technical Documentation For IFS Cloud

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+9
  • Hero (Employee)
  • 115 replies
  • Answer
  • February 20, 2025

hi ​@CurAnneaL 

From what you have described you could use a process enrichment task to get the behavior

first declare the variable as you are doing in the script task, then declare the variable in the IFS Process Enrichment task to make it export from the workflow 

 

ref: IFS Process Enrichment - Technical Documentation For IFS Cloud


Forum|alt.badge.img+1
  • Author
  • Do Gooder (Partner)
  • 2 replies
  • February 21, 2025

Thanks, 

I tried with a process enrichment element right after I made the post and it worked!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings