CMDBuild Forum

Update Preventive Maintenance Task Checklist

I am trying to advance Preventive Maintenance Processes through the REST API, all works well until the final stage, “Conclude Activity”. I am unable to update the Task outcomes, or find any thing in the data structure that represents the checklist instance other than the widget ‘pm_checklist’. This triggers the “COMMON - Message”, “PM03-BlankTasks” message and prevents the successful advancement.

In case anyone else comes across this, the Task List instance for a Process Instance is in the ‘Preventive Checklist’ class. It is generated as part of the Workflow (‘PM-SYS01.2 Step Operations’). This list can be updated through the REST API using the ‘classes/PrevMaintTasks/cards/{card_id}’ endpoint with a correctly structured JSON payload.

1 Like