Skip to main content
Solved

Sending Custom Attributes to PSO

  • 22 July 2024
  • 6 replies
  • 35 views

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

6 replies

Badge +5

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?

Userlevel 7
Badge +20

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

Badge +5

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

Badge +5

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.

Userlevel 7
Badge +20

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

Badge +5

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

 

Reply