You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

This wiki page aims to show how to manage tasks by using Syncope console.

Tasks can be divided into four different types:

Propagation Task

  1. Click on tab Tasks.
  2. Click on subtab Propagation Tasks (Fig. Propagation Tasks).
  3. :For each propagation task, information below are shown.
    #:* Id
    #:*:Task identifier (automatically generated).
    #:* Resource
    #:*:Resource on which operation has been propagated.
    #:* AccountId
    #:*:SyncopeUser identifier for which propagated operation is about.
    #:* Propagation Mode
    #:*:For more details about propagation modes take a look at Propagation Mode.
    #:* Propagation Operation
    #:*:Propagated operation.
    #:* Last Status
    #:*:Last execution status.

View Task

  1. Click on tab Tasks.
  2. Click on subtab Propagation Tasks (Fig. Propagation Tasks).
  3. Click on Edit link in order to take a look at task details.
  4. Click on Executions tab in order to have detailed information about each execution of the task (Fig. Propagation Task Details).
  5. :For each execution the following information are provided
    #:*id
    #:*:Execution identifier (automatically generated).
    #:*Start date
    #:*:Date and time of execution start-up.
    #:*End date
    #:*:Date and time of execution completion.
    #:*Status
    #:*:Execution status.
    #:*:Successful statuses are: SUCCESS for ONE_PHASE propagation and TWO_PHASE propagation at "step 2"; SUBMITTED for TWO_PHASE propagation at "step 1".
    #:*:Failure statuses are: FAILURE for ONE_PHASE propagation and TWO_PHASE propagation at "step 2"; UNSUBMITTED for TWO_PHASE propagation at "step 1".
    #:*:For more details about propagation statuses take a look at Propagation Mode.
    #:*Message
    #:*:Click on Show in order to show returned message (if provided).
    #:*Delete
    #:*:Click on Delete in order to remove an execution.

Re-Execute Task

  1. Click on tab Tasks.
  2. Click on subtab Propagation Tasks (Fig. Propagation Tasks).
  3. Click on Execute link in order to execute a task.

Delete Task

  1. Click on tab Tasks.
  2. Click on subtab Propagation Tasks (Fig. Propagation Tasks).
  3. Click on Delete link in order to remove a task.
  4. Confirm operation.

Notification Task

  1. Click on tab Tasks.
  2. Click on subtab Notification Tasks (Fig. Notification Tasks).
  3. :For each propagation task, information below are shown.
    #:* Id
    #:*:Task identifier (automatically generated).
    #:* Sender
    #:*:Configured e-mail sender (please, take a look at Notification Management for more details)
    #:* Recipients
    #:*:Configured e-mail recipients (please, take a look at Notification Management for more details)
    #:* Subject
    #:*:Configured e-mail subject (please, take a look at Notification Management for more details)
    #:* Trace level
    #:*:Configured trace level (please, take a look at Notification Management for more details)
    #:* Last Status
    #:*:Last execution status.

View Task


  1. Click on tab Tasks.
  2. Click on subtab Notification Tasks (Fig. Notification Tasks).
  3. Click on Edit link in order to take a look at task details.
  4. Click on Executions tab in order to have detailed information about each execution of the task (Fig. Notification Task Executions).
  5. :For each execution the following information are provided
    #:*id
    #:*:Execution identifier (automatically generated).
    #:*Start date
    #:*:Date and time of execution start-up.
    #:*End date
    #:*:Date and time of execution completion.
    #:*Status
    #:*:Execution status (SENT or NOT_SENT).
    #:*Message
    #:*:Click on Show in order to show returned message (if provided).
    #:*Delete
    #:*:Click on Delete in order to remove an execution.

Re-Execute Task

  1. Click on tab Tasks.
  2. Click on subtab Notification Tasks (Fig. Notification Tasks).
  3. Click on Execute link in order to execute a task.

Delete Task

  1. Click on tab Tasks.
  2. Click on subtab Notification Tasks (Fig. Notification Tasks).
  3. Click on Delete link in order to remove a task.
  4. Confirm operation.

Synchronization Task

  1. Click on tab Tasks.
  2. Click on subtab Scheduled Tasks (Fig. Sync Tasks).
  3. :For each scheduled task, information below are shown.
    #:* Id
    #:*:Task identifier (automatically generated).
    #:* Resource Name
    #:*:Resource to be synchronized.
    #:* Last Execution
    #:*:Last date and time job execution.
    #:* Next Execution
    #:*:Next date and time job execution.
    #:* Last Status
    #:*:Last execution status.

Create Task


  1. Click on tab Tasks.
  2. Click on subtab Synchronization Tasks (Fig. Sync Tasks).
  3. Click on Create new task button.
  4. Click on Profile tab and provide the following information (Fig. Sync Task Details).
  5. : Resource Name
  6. ::Resource to be synchronized.
  7. : Actions Class
  8. ::Java class implementing actions to be performed during synchronization.
  9. ::For more details take a look at Synchronization Actions Class
  10. :Create new identities
  11. ::Check it in order to synchronize identities which don't exist.
  12. :Update matched identities
  13. ::Check it in order to synchronize identities which exist.
  14. :Delete matched identities
  15. ::Check it in order to synchronize retrieved identity deletions.
  16. Click on Schedule tab to schedule task executions (Fig. Sync Task Schedule).
  17. :Provide a Quartz Cron Expression (you can use an expression template by selecting it into the combo-box provided).
  18. Click on Save button to save task.

Edit/View Task


Synchronization tasks can modified following the steps below.

Using the same steps it is possible to check execution statuses as well.

  1. Click on tab Tasks.
  2. Click on subtab Synchronization Tasks (Fig. Sync Tasks).
  3. Click on Edit link in order to take a look at task details (Fig. Sync Task Details).
  4. Click on Schedule tab in order to specify a schedule for the task (Fig. Sync Task Schedule).
  5. Click on Executions tab in order to have detailed information about each execution of the task (Fig. Scheduled Task Executions).
  6. :For each execution the following information are shown.
    #:*id
    #:*:Execution identifier (automatically generated).
    #:*Start date
    #:*:Date and time of execution start-up.
    #:*End date
    #:*:Date and time of execution completion.
    #:*Status
    #:*:Execution status.
    #:*Message
    #:*:Click on Show in order to show returned message (if provided).
    #:*Delete
    #:*:Click on Delete in order to remove an execution.
  7. Click on Save button to save changes.

Specify User Template


Specify a user template to assign default parameters to each synchronized user.

  1. Click on tab Tasks.
  2. Click on subtab Synchronization Tasks (Fig. Sync Tasks).
  3. Click on Edit link (corresponding to User template column) in order to configure a user template.
  4. : Click on Details tab (Fig. User Template - User Details).
  5. ::Provide default values for username and password.
  6. ::Values must be provided using a JEXL expression.
  7. : Click on Attributes tab (Fig. User Template - User Attributes).
  8. ::Provide default value for one or more user attributes.
  9. ::Values must be provided using a JEXL expression.
  10. : Click on Derived Attributes tab.
  11. ::Provide derived attributes to be assigned by default.
  12. : Click on Virtual Attributes tab.
  13. ::Provide default value for one or more virtual user attributes.
  14. ::Values must be provided using a JEXL expression.
  15. : Click on Resources tab.
  16. ::Provide external resource to be automatically assigned to each synchronized user.
  17. : Click on Roles tab.
  18. ::Provide roles to be automatically assigned to each synchronized user.
  19. Click on Save button to save changes.

Re-Execute Task

  1. Click on tab Tasks.
  2. Click on subtab Synchronization Tasks (Fig. Sync Tasks).
  3. Click on Execute link in order to force job execution.

Dry Run

  1. Click on tab Tasks.
  2. Click on subtab Synchronization Tasks (Fig. Sync Tasks).
  3. Click on Dry run link in order to execute.

Delete Task

  1. Click on tab Tasks.
  2. Click on subtab Synchronization Tasks (Fig. Sync Tasks).
  3. Click on Delete link in order to remove a task.
  4. Confirm operation.

Scheduled Task

  1. Click on tab Tasks.
  2. Click on subtab Scheduled Tasks (Fig. Scheduled Tasks).
  3. :For each scheduled task, information below are shown.
    #:* Id
    #:*:Task identifier (automatically generated).
    #:* Class
    #:*:Java class implementing the job.
    #:* Last Execution
    #:*:Last date and time job execution.
    #:* Next Execution
    #:*:Next date and time job execution.
    #:* Last Status
    #:*:Last execution status.

Create Task

  1. Click on tab Tasks.
  2. Click on subtab Synchronization Tasks (Fig. Scheduled Tasks).
  3. Click on Create new task button.
  4. Click on Profile tab and provide the following information (Fig. Scheduled Task Details).
  5. : Class
  6. ::Java class implementing task job to be executed.
  7. ::For more information about task job class implementation take a look at Scheduled Task Job Class.
  8. Click on Schedule tab to schedule task executions (Fig. Scheduled Task Schedule).
  9. :Provide a Quartz Cron Expression (you can use an expression template by selecting it into the combo-box provided).
  10. Click on Save button to save task.

Edit/View Task

Scheduled tasks can modified following the steps below.

Using the same steps it is possible to check execution statuses as well.

  1. Click on tab Tasks.
  2. Click on subtab Scheduled Tasks (Fig. Scheduled Tasks).
  3. Click on Edit link in order to take a look at task details (Fig. Scheduled Task Details).
  4. Click on Schedule tab in order to specify a schedule for the task (Fig. Scheduled Task Schedule).
  5. Click on Executions tab in order to have detailed information about each execution of the task (Fig. Scheduled Task Executions).
  6. :For each execution the following information are provided
    #:*id
    #:*:Execution identifier (automatically generated).
    #:*Start date
    #:*:Date and time of execution start-up.
    #:*End date
    #:*:Date and time of execution completion.
    #:*Status
    #:*:Execution status.
    #:*Message
    #:*:Click on Show in order to show returned message (if provided).
    #:*Delete
    #:*:Click on Delete in order to remove an execution.
  7. Click on Save button to save changes.

Re-Execute Task

  1. Click on tab Tasks.
  2. Click on subtab Scheduled Tasks (Fig. Scheduled Tasks).
  3. Click on Execute link in order to force job execution.

Delete Task

  1. Click on tab Tasks.
  2. Click on subtab Scheduled Tasks (Fig. Scheduled Tasks).
  3. Click on Delete link in order to remove a task.
  4. Confirm operation.

DISPLAYTITLE:Task Management

  • No labels