Introduction
This wiki page aims to show how to manage tasks by using Syncope console.
Tasks can be divided into:
- Propagation task
- Creates, updates and deletes performed on an external resource.
- All the propagated operations are traced in respect of the trace level configured for the target external resource.
- Notification task
- Notifications sent on events happened.
- Notifications to be sent are configured as described at Notification Management.
- Scheduled task
- Custom jobs to be performed manually or automatically.
- Synchronization task
- Synchronizations (from external resources to Syncope) to be performed manually or automatically.
- Push task (>= 1.2.0 only)
- Synchronizations (from Syncope to external resources) to be performed manually or automatically.
Propagation Task
- Click on tab Tasks.
- Click on subtab Propagation Tasks.
- 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
- Click on tab Tasks.
- Click on subtab Propagation Tasks.
- Click on Edit link in order to take a look at task details.
- Click on Executions tab in order to have detailed information about each execution of the task.
- 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
- Click on tab Tasks.
- Click on subtab Propagation Tasks.
- Click on Execute link in order to execute a task.
Delete Task
- Click on tab Tasks.
- Click on subtab Propagation Tasks.
- Click on Delete link in order to remove a task.
- Confirm operation.
Notification Task
- Click on tab Tasks.
- Click on subtab Notification Tasks.
- 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
- Click on tab Tasks.
- Click on subtab Notification Tasks.
- Click on Edit link in order to take a look at task details.
- Click on Executions tab in order to have detailed information about each execution of the task.
- 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
- Click on tab Tasks.
- Click on subtab Notification Tasks.
- Click on Execute link in order to execute a task.
Delete Task
- Click on tab Tasks.
- Click on subtab Notification Tasks.
- Click on Delete link in order to remove a task.
- Confirm operation.
Synchronization Task
- Click on tab Tasks.
- Click on subtab Synchronization Tasks
- For each sync 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
- Click on tab Tasks.
- Click on subtab Synchronization Tasks.
- Click on Create new task button.
- Click on Profile tab and provide the following information.
- Resource Name
- Resource to be synchronized.
- Actions Class
- Java class implementing actions to be performed during synchronization.
- For more details take a look at Synchronization Actions Class
- Create new identities
- Check it in order to synchronize identities which don't exist.
- Update matched identities
- Check it in order to synchronize identities which exist.
- Delete matched identities
- Check it in order to synchronize retrieved identity deletions.
- Resource Name
- Click on Schedule tab to schedule task executions.
- Provide a Quartz Cron Expression (you can use an expression template by selecting it into the combo-box provided).
- 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.
- Click on tab Tasks.
- Click on subtab Synchronization Tasks.
- Click on Edit link in order to take a look at task details.
- Click on Schedule tab in order to specify a schedule for the task.
- Click on Executions tab in order to have detailed information about each execution of the task.
- 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.
- Click on Save button to save changes.
Specify User Template
Specify a user template to assign default parameters to each synchronized user.
- Click on tab Tasks.
- Click on subtab Synchronization Tasks.
- Click on Edit link (corresponding to User template column) in order to configure a user template.
- Click on Details tab..
- Provide default values for username and password.
- Values must be provided using a JEXL expression.
- Click on Attributes tab.
- Provide default value for one or more user attributes.
- Values must be provided using a JEXL expression.
- Click on Derived Attributes tab.
- Provide derived attributes to be assigned by default.
- Click on Virtual Attributes tab.
- Provide default value for one or more virtual user attributes.
- Values must be provided using a JEXL expression.
- Click on Resources tab.
- Provide external resource to be automatically assigned to each synchronized user.
- Click on Roles tab.
- Provide roles to be automatically assigned to each synchronized user.
- Click on Details tab..
- Click on Save button to save changes.
[Re-]Execute Task
- Click on tab Tasks.
- Click on subtab Synchronization Tasks.
- Click on Execute link in order to force job execution.
Dry Run
- Click on tab Tasks.
- Click on subtab Synchronization Tasks.
- Click on Dry run link in order to execute.
Delete Task
- Click on tab Tasks.
- Click on subtab Synchronization Tasks.
- Click on Delete link in order to remove a task.
- Confirm operation.
Push Task
Version warning
Content of this section applies to Apache Syncope >= 1.2.X
This tasks are used to synchronize users/groups from Apache Syncope to external resources. Take a loot at Push Task for more details.
- Click on tab Tasks.
- Click on subtab Push Tasks
- For each push task, information below are shown.
- Id
- Task identifier (automatically generated).
- Name
- Task name
- Description
- Task description
- 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
- Click on tab Tasks.
- Click on subtab Push Tasks.
- Click on Create new task button.
- Click on Profile tab and provide the following information.
- Name
- Description
- Resource Name
- Resource to be synchronized.
- Actions Class
- Java class implementing actions to be performed during synchronization.
- For more details take a look at Synchronization Actions Class
- Allow create operations
- Check it in order to be able to provision unmatching entities (see matching/unmatching rules for more details).
- Allow update operations
- Check it in order to be able to perform local/remote changes.
- Allow delete operations
- Check it in order to be able to de-provision matching entities (see matching/unmatching rules for more details).
- Allow status synchronization
- Check it in order to propagate user status as well.
- Matching Rule
- Unmatching Rule
- User Filter
- Check it and provide a filter to restrict the set of push involved user data
- Role Filter
- Check it and provide a filter to restrict the set of push involved role data
- Click on Schedule tab to schedule task executions.
- Provide a Quartz Cron Expression (you can use an expression template by selecting it into the combo-box provided).
- Click on Save button to save task.
Edit/View Task
Push tasks can modified following the steps below.
Using the same steps it is possible to check execution statuses as well.
- Click on tab Tasks.
- Click on subtab Push Tasks.
- Click on Edit link in order to take a look at task details.
- Click on Schedule tab in order to specify a schedule for the task.
- Click on Executions tab in order to have detailed information about each execution of the task.
- 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 Edit in order to show returned message (if provided).
- Delete
- Click on Delete in order to remove an execution.
- Click on Save button to save changes.
[Re-]Execute Task
- Click on tab Tasks.
- Click on subtab Push Tasks.
- Click on Execute link in order to force job execution.
Dry Run
- Click on tab Tasks.
- Click on subtab Push Tasks.
- Click on Dry run link in order to execute.
Delete Task
- Click on tab Tasks.
- Click on subtab Push Tasks.
- Click on Delete link in order to remove a task.
- Confirm operation.
Scheduled Task
- Click on tab Tasks.
- Click on subtab Scheduled Tasks.
- 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
- Click on tab Tasks.
- Click on subtab Synchronization Tasks.
- Click on Create new task button.
- Click on Profile tab and provide the following information.
- Class
- Java class implementing task job to be executed.
- For more information about task job class implementation take a look at Scheduled Task Job Class.
- Class
- Click on Schedule tab to schedule task executions.
- Provide a Quartz Cron Expression (you can use an expression template by selecting it into the combo-box provided).
- 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.
- Click on tab Tasks.
- Click on subtab Scheduled Tasks.
- Click on Edit link in order to take a look at task details.
- Click on Schedule tab in order to specify a schedule for the task.
- Click on Executions tab in order to have detailed information about each execution of the task.
- 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.
- Click on Save button to save changes.
[Re-]Execute Task
- Click on tab Tasks.
- Click on subtab Scheduled Tasks.
- Click on Execute link in order to force job execution.
Delete Task
- Click on tab Tasks.
- Click on subtab Scheduled Tasks.
- Click on Delete link in order to remove a task.
- Confirm operation.