IFS Work Flow - how to pass Path Parameter to projection
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?
Page 1 / 1
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
@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
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.
Hi @bdoucette
I have some doubt about parameters in Call Projection task in workflow.
Can you please clarify some issues for me about passing parameters in Call Projection?