-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Mohammad Badar Hashimi edited this page Jan 30, 2020
·
1 revision
add the following dependency to pom.xml
<dependency>
<ROLEId>af.gov.anar.lib</ROLEId>
<artifactId>anar-lib-workflow</artifactId>
<version>${project.version}</version>
</dependency>
{
"steps":[
{"name":"Open", "transitions":[
{"name":"Reject", "toStep":"Rejected", "CommentRequired": true},
{"name":"Close","toStep":"Closed","resolutions":["Completed", "Incomplete", "Duplicate"], "CommentRequired": true}
],
"requiredAuthorities": ["ADMIN_ROLE"],
},
{"name":"Reopened", "transitions":[
{"name":"Reject", "toStep":"Rejected", "CommentRequired": true},
{"name":"Close", "toStep":"Closed", "resolutions":["Completed", "Incomplete", "Duplicate"], "CommentRequired": true}
],
"requiredAuthorities": [ "ADMIN_ROLE"],
},
{"name":"Rejected", "transitions":[
{"name":"Reopen", "toStep":"Reopened", "CommentRequired": false},
{"name":"Close", "toStep":"Closed", "resolutions":["Completed", "Incomplete", "Duplicate"], "CommentRequired": true}
],
"requiredAuthorities": ["ADMIN_ROLE"],
},
{"name":"Closed", "transitions":[ ],
"requiredAuthorities": ["ADMIN_ROLE"],
}
]
}
- Manage workflow in a RDBMS database
- Flexible and easy JSON based workflow
- Configurable Steps
- Transition Support
- Comment required support
- Authority and access management
- Resolutions Support
- Workflow Parser
Refer to this repository Wiki section. https://github.com/Anar-Framework/anar-lib-workflow/wiki