Skip to main content
Solved

IFS Work Flow - how to pass Path Parameter to projection


Forum|alt.badge.img+9
  • Sidekick (Employee)

Hi , 

in workflow , I would like to call a Projection with Path parameter,

which I succeed to call via Postman

 while, in workflow , seems it doesn’t support Path Parameter,

I tried to put Path Parameter into normal “Parameter”, it pops up error

 

 

can anyone help?

 

 

Best answer by Shou

I found the answer for it.

※tried with 23R1.

before you “Update” an Entity,

1) you have to “Read” it to get the Etag , 

 

2) then in the “Update” part

    just simply pass all Path Parameter and Update Parameter together 

    

after that , all works fine.

 

View original

Forum|alt.badge.img+17
  • Superhero (Customer)
  • May 23, 2023

Hi @Shou 

 

You are currently using a Update projection action, you’d need to use a call projection action to use a call method. IFS Cloud uses Read, Update, Delete, and Call actions for projections.

 

Here is an example where I used a call projection action in my workflow

 

For your example though, I’m assuming the ConfigID parameter is either not called “ConfigID” but ConfigId or the projection doesn’t have access to that field, so you’d need to update a different projection. I can’t say for certain without seeing the error.


Thanks,
Bryan


Forum|alt.badge.img+9
  • Sidekick (Employee)
  • May 23, 2023

@bdoucette

Thanks for you answer.

my understand is 

Call   -  for projection’s Action and Function

Read, Update - for projection’s Entity

 

Currently, I just want to “PATCH” one Entity(not call an Action) , so “Update” is the correct selection.

meanwhile, you are right, ConfigID should be ConfigurationId.

 

But still , I get the ETag Error

 

 


Forum|alt.badge.img+9
  • Sidekick (Employee)
  • May 23, 2023

I found the answer for it.

※tried with 23R1.

before you “Update” an Entity,

1) you have to “Read” it to get the Etag , 

 

2) then in the “Update” part

    just simply pass all Path Parameter and Update Parameter together 

    

after that , all works fine.

 


MizanulIslam
Sidekick (Partner)
Forum|alt.badge.img+7

Hi @bdoucette 

I have some doubt about parameters in Call Projection task in workflow.

https://community.ifs.com/framework-experience-infrastructure-cloud-integration-dev-tools-50/what-is-the-required-parameters-for-call-an-ifs-projection-in-workflows-37029

Can you please clarify some issues for me about passing parameters in Call Projection?

 

Thanks


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