Schedule as background job

The synchronization job can be scheduled to run as a background job at specific time interval.

Actions

Create an Application Server Task. This can be done using the Schedule... button in the AD configuration window or it can be done manually following the instructions in step 1. The Schedule... button creates the application server task for you, go directly to step 2 after this.

  1. Create an Application Server Task
    1. Open Solution Manager /  Integration / Application Server Tasks
    2. Enter a Description for the job
    3. Select Job Type Other
    4. Enter AdBackgroundSynchronization in Interface
    5. Enter RunSynchronization in Operation
    6. Select Queue
    7. Select Execute As
    8. Select Locale
    9. The scheduled job needs to know which configuration to use during synchronization. Provide this information as Job Parameters by opening and selecting a XML-file containing the configuration id. You can use this template. Save it to your file system, change the configuration id and then import it in the Job Parameters dialog.
    10. Save the Application Server Task.
  2. Copy the Application Message ID
  3. Click on menu option Scheduled Database Task. Existing schedules are shown. If no schedules exist you get a message, asking if you want to create a new schedule, click Yes.
  4. Enter the Application Message ID (paste it from the previous window) as parameter to the Run Application Server Task schedule.
  5. Enter how often the job should execute.
  6. Save the Schedule.

Read more about how to set up background jobs in Application Server Tasks.

 

Note: The user who runs the task has to be granted administrator privileges, i.e. permission set FND_ADMIN. If the task is set up with Execute As set to "System" then user IFSCONNECT must be granted FND_ADMIN. If Execute As is set to "Initiator" then the user creating the task must be granted FND_ADMIN.