Skip to main content
Solved

Sending Custom Attributes to PSO

  • July 22, 2024
  • 6 replies
  • 70 views

Forum|alt.badge.img+5

Good morning, 

 

I created a custom Field called Cf_Wo_No in Request:
 

 

Does anyone know how i can send this field to PSO, i think it’s through here:
 

 

But when i put in the custom value expression #CF_WO_NO# it gives:
 

 

Can someone help with this.

with the best regards,

Francisco Lopes

Best answer by Alexander Heinze

Did you look at IFS Cloud - Scheduling demystified (24R1) | IFS Community , section “How-to: Send a Custom Field to PSO as Additional Attribute”?

6 replies

Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • July 22, 2024

This one: 

srvrequest_cfp.get_cf$_Wo_No(srvrequest_api_get.get_objkey(#TASK_SEQ#))

 

Is giving me:
 

 

Does anyone know how to solve this?


Alexander Heinze
Ultimate Hero (Employee)
Forum|alt.badge.img+23
  • Ultimate Hero (Employee)
  • Answer
  • July 22, 2024

Did you look at IFS Cloud - Scheduling demystified (24R1) | IFS Community , section “How-to: Send a Custom Field to PSO as Additional Attribute”?


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • July 22, 2024

Thank you, I’m gonna see it and try to solve my problem, i didn’t find that post


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • July 22, 2024

Did you look at IFS Cloud - Scheduling demystified (24R1) | IFS Community , section “How-to: Send a Custom Field to PSO as Additional Attribute”?

I was checking the file that is on that post, but i tried to replicate it with:

srvrequest_cfp.get_cf$_wo_no(srvrequest_api.get_objkey(#TASK_SEQ#))

But it gave me this error:

 

I have already created the custom field Wo_No, but it says that it isn’t declared.


Alexander Heinze
Ultimate Hero (Employee)
Forum|alt.badge.img+23

You query the Request entity, but use #TASK_SEQ#. You need to use the Request ID instead. 


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • July 23, 2024

You query the Request entity, but use #TASK_SEQ#. You need to use the Request ID instead. 

Thank you @Alexander Heinze , I already fixed it, i saw the instructions you posted here and after reading it i got the solution