Question

PSO Send Full vs Change

  • 25 March 2024
  • 3 replies
  • 25 views

Userlevel 5
Badge +10

In Apps 10, we have two schedule tasks setup to update PSO:

1 - Full Load - Runs once a day at midnight

Send Data For Schedule

SCH360_SEND_DATA_UTIL_API.SEND_DATA_FOR_SCHEDULE

Input type: Load

Send Timeline - Not Ticked

2 - Change - Runs every 2 minutes

Send Data For Schedule

SCH360_SEND_DATA_UTIL_API.SEND_DATA_FOR_SCHEDULE

Input type: Change

Send Timeline - Ticked

 

I am looking for guidance on what is the equivalent task and method that should be used in IFS Cloud please?

 

Thanks


3 replies

Userlevel 6
Badge +18

Have a look at IFS Cloud - Scheduling demystified (23R2) | IFS Community, chapter Scheduling Optimization Dataset. The database tasks should be created automatically.

Userlevel 5
Badge +10

Thanks @Alexander Heinze 

I actually have that document open.

However I am getting slightly confused which task should be used for scheduling!

We need to use a database chain task, as we need a custom task to execute first before the core PSO Load/Change database tasks execute.

The custom task decides what should be included/excluded for scheduling and updates the work task.

 

If I go to Scheduling Optimization Datasets and click View schedule, it takes me to database task “Send PSO Integration dataset updates” which I assume is the correct one to use for the PSO changes? (Screenshot in the document differs which references database task “Send Scheduling Optimization Dataset updates” - This does not exist in 23R2!)

 

There is another scheduled task “Schedule Plan Changes” that uses method Svcsch_Task_Allocation_API.Schedule_Plan_Changes that is executing every 2 minutes, and looks to be using arguments DATASET_ID, MIN_DIFF and WORK_ASSIGNMENT_STATUS. 

This may be related to UPDATE_PLAN_CHANGES parameter in Scheduling Configuration Parameters.

What is this doing and how does this differ to the above?

 

Userlevel 6
Badge +18

I just checked my 23.2.1 instance and “View Schedule” takes me to exactly the DB Task Schedule mentioned in the document:

That’s the task that sends regular updates to PSO (in my case every 10 minutes). Cannot shed light on any of the database tasks I’m afraid...

Reply