Task #2082
closedWorkflow to disable missing contract in sync
100%
Description
We sometimes get into a situation, where HR cannot keep old contract information in our source data. It simply dissapears after it is invalidated, or after it expires. IdM can detect this situation, but we have to write workflow on each installation, where this happens.
The goal of this ticket is to implement a simple workflow, which disables contract if it is set in synchronization configuration. Setting this workflow to situation MISSING_ACCOUNT in rekonciliation of contracts will resolve problem mentioned above.
Related issues
Updated by Peter Štrunc about 4 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 60
Implementation is in personal/pstrunc-2082-ned-contract-wf.
I added a new workflow and an util method to ExtrasUtil, which can find entity based on account identitifer
TODO:- Tests
- Documentation
Updated by Peter Štrunc about 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Peter Štrunc to Ondřej Kopr
- % Done changed from 60 to 80
I added documentation to the main page of extras module https://wiki.czechidm.com/devel/documentation/modules_extras. Since this is a really small feature, there is no need to create separate page for it.
I also created tests.
@kopro would you please review this ticket?
https://github.com/bcvsolutions/czechidm-extras/pull/18
TODO: cherry-pick to develop
Updated by Ondřej Kopr about 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondřej Kopr to Peter Štrunc
- % Done changed from 80 to 100
I made review. Tests look great. OK. Thank you for this feature. You are amazing guy :-P
Updated by Peter Štrunc about 4 years ago
- Copied to Task #2133: Workflow to disable missing contract in sync added
Updated by Peter Štrunc about 4 years ago
- Status changed from Resolved to Closed