Wanted to share a update on this that might be useful for some:
We recently ported over our data resolvers and tasks.
This is a partial replacement (with some additional features) for Tasklist. Its not designed to be a formal replacement for tasklist. More of a specific use case replacement:
See the following images. There is a Portal and Admin app. Portal is (client side)(citizens in our context), and Admin is administration (Staffers in our context).
All tasks that are submitted get logged into Camunda as well as into a “Submissions” entity incase Camunda is offline (Example you do a offline form submission and your form was cached), or you want to process the data to multiple locations or other camunda instances.
client side is send the form schema to render, and we also support Default values that are pulled from the user account, any other microservice or Camunda:
ds[bpm].task.variable.none_start_event_form_data.firstname
Portal loading tasks:
All fields support field level security. All security is handled at our microservice level with Multiple identities, business units/groups etc with ability to set custom actions
Everything is configurable.
All runs on Angular (latest)
Tasks can be viewed and completed in portal and admin UIs
is fully multilingual, where the languages are loaded from the CMS (GitHub - DigitalState/Cms: The DigitalState Cms Microservice)
examples:
Oh you can also support fully read-only fields, partial read only (read only on client side), etc. Basically all the fancy enterprise features.
Lots of other fun features tucked away. But last one i will mention: When you build a Form and attach it to the Task (or start event), it doubles as a fully server side validation for the form.
So you can do something like:
{{tasks}}{{environment}}/tasks/a210161b-9ae9-11e7-92b2-0242ac110002/submission
and have a body of:
{
"data": {
"firstName": "Bob"
}
}
and it will validate it against the formio server before submission into camunda into the task.
Tasks are submited into camunda as JSON variables with the name of the variable being the task_form_data_{{activityId}}.
Once Local Variables are supported on Camunda’s API for task completions, we will convert to using that.
Can find examples at DigitalState · GitHub, postman API SDK at: GitHub - DigitalState/Platform: The DigitalState Platform.
MIT License.
Enjoy!