Question

New attributes values from ifs cloud to PSO

  • 11 October 2022
  • 1 reply
  • 99 views

Userlevel 2
Badge +3
  • Do Gooder (Partner)
  • 7 replies

Hi Community,

How can i send from cloud news attributes values to PSO?

Is it possible to set up new attributes values?

 

Examples:

1-From a Prepare work order => Send Object information to Activity details, Activity tooltip in PSO

2-From a Task, send Long Description information to Activity details, Activity tooltip in PSO

3-From Absence details, send Absence Type in description in Private activity to display it on the workbench PSO

From menu Scheduling Dataset in cloud, it’s possible to set-up attributes values but it’s limited to a few values

 

Thank you for your help

 


1 reply

Userlevel 1
Badge +7

When defining a Scheduling Dataset, you can define values that become entries in the ‘additional_attribute’ entity using the ‘Attributes’ tab on the Dataset.

These entries are included in Load and Change files, and can then be used in the Lists to configure tool tips etc.

Defining values to send as an ‘additional_attribute’.
If you want to use a value that is not in the pre-defined list, you will need to add a line with an attribute value of #CUSTOM_VALUE# and define a Custom Value Expression. 
For example...
 

Scheduling Dataset page

In the examples above, there are Task and Resource values added.

  • For a standard field on a Task, you can use the format
    Jt_Task_API.Get_Latest_Start(#TASK_SEQ#)
    where ‘Latest_Start’ is the field name, and (#TASK_SEQ#) is the key to retrieve the record
  • For a custom field on a Task, you can use the format
    jt_task_cfp.get_cf$_assigned_to(jt_task_api.get_objkey(#TASK_SEQ#))
    where ‘assigned_to’ is the name of the Custom attribute on the entity

Similarly for Resources, you can use the format:

  • resource_api.get_resource_type(#RESOURCE_SEQ#) for a standard field
  • resource_cfp.get_cf$_customattribute(resource_api.get_objkey(#RESOURCE_SEQ#)) for a custom field

For other entities similar formats would apply.

You can find the details needed in the following pages

  • Function/API name - ‘Entity’ page / packages tab
  • Standard attribute names/field names - ‘Entity Details’ page
  • Custom Field Names - ‘Entity Configuration’ page
     

Reply