If the WorkDefinitions.wid file is deleted manually, after opening already exiting process/case or creating a new process/case, a new WID file is created but its content is different from the initial WorkDefinitions.wid file. If you delete also this WID file, a new WID file is never created.
First WorkDefinitions.wid:
[ [ "name" : "Email", "displayName" : "Email", "category" : "jbpm-workitems-email", "description" : "", "defaultHandler" : "mvel: new org.jbpm.process.workitem.email.EmailWorkItemHandler()", "documentation" : "jbpm-workitems-email/index.html", "icon" : "defaultemailicon.png", "parameters" : [ "Reply-To" : new StringDataType(), "Cc" : new StringDataType(), "Bcc" : new StringDataType(), "From" : new StringDataType(), "To" : new StringDataType(), "Body" : new StringDataType(), "Attachments" : new StringDataType(), "Subject" : new StringDataType(), "Debug" : new StringDataType(), "Template" : new StringDataType() ] ], [ "name" : "Log", "displayName" : "Log", "icon" : "defaultlogicon.gif", "parameters" : [ "Message" : new StringDataType() ] ], [ "name" : "WebService", "displayName" : "WebService", "category" : "jbpm-workitems-webservice", "description" : "", "defaultHandler" : "mvel: new org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler()", "documentation" : "jbpm-workitems-webservice/index.html", "icon" : "defaultservicenodeicon.png", "parameters" : [ "Endpoint" : new StringDataType(), "Mode" : new StringDataType(), "Parameter" : new StringDataType(), "Operation" : new StringDataType(), "Url" : new StringDataType(), "Namespace" : new StringDataType(), "Interface" : new StringDataType() ], "results" : [ "Result" : new StringDataType() ] ], [ "name" : "Rest", "displayName" : "Rest", "category" : "jbpm-workitems-rest", "description" : "", "defaultHandler" : "mvel: new org.jbpm.process.workitem.rest.RESTWorkItemHandler()", "documentation" : "jbpm-workitems-rest/index.html", "icon" : "defaultservicenodeicon.png", "parameters" : [ "ConnectTimeout" : new StringDataType(), "ResultClass" : new StringDataType(), "ContentType" : new StringDataType(), "AcceptCharset" : new StringDataType(), "Headers" : new StringDataType(), "AuthUrl" : new StringDataType(), "Method" : new StringDataType(), "ReadTimeout" : new StringDataType(), "Url" : new StringDataType(), "ContentTypeCharset" : new StringDataType(), "HandleResponseErrors" : new StringDataType(), "ContentData" : new StringDataType(), "Username" : new StringDataType(), "Content" : new StringDataType(), "AcceptHeader" : new StringDataType(), "AuthType" : new StringDataType(), "Password" : new StringDataType() ], "results" : [ "Result" : new StringDataType() ] ], [ "name" : "Milestone", "displayName" : "Milestone", "category" : "Milestone", "icon" : "defaultmilestoneicon.png", "parameters" : [ "Condition" : new StringDataType() ] ], [ "name" : "StartCaseInstance", "parameters" : [ "DeploymentId" : new StringDataType(), "CaseDefinitionId" : new StringDataType(), "Data_" : new StringDataType(), "UserRole_" : new StringDataType(), "GroupRole_" : new StringDataType(), "DataAccess_" : new StringDataType(), "Independent" : new StringDataType(), "DestroyOnAbort" : new StringDataType() ], "results" : [ "CaseId" : new StringDataType(), ], "displayName" : "Sub Case", "icon" : "defaultservicenodeicon.png", "category" : "Cases" ] ]
Second WorkDefinitions.wid:
[ [ "name" : "BusinessRuleTask", "displayName" : "BusinessRuleTask", "category" : "jbpm-workitems-bpmn2", "description" : "", "defaultHandler" : "mvel: new org.jbpm.process.workitem.bpmn2.BusinessRuleTaskHandler()", "documentation" : "jbpm-workitems-bpmn2/index.html", "icon" : "BusinessRuleTask.png", "parameters" : [ "KieSessionName" : new StringDataType(), "KieSessionType" : new StringDataType() ] ], [ "name" : "DecisionTask", "displayName" : "Decision Task", "category" : "jbpm-workitems-bpmn2", "description" : "", "defaultHandler" : "mvel: new org.jbpm.process.workitem.bpmn2.DecisionTaskHandler()", "documentation" : "jbpm-workitems-bpmn2/index.html", "icon" : "DecisionTask.png", "parameters" : [ "Model" : new StringDataType(), "Namespace" : new StringDataType(), "Decision" : new StringDataType() ] ], [ "name" : "Email", "displayName" : "Email", "category" : "jbpm-workitems-email", "description" : "", "defaultHandler" : "mvel: new org.jbpm.process.workitem.email.EmailWorkItemHandler()", "documentation" : "jbpm-workitems-email/index.html", "icon" : "Email.png", "parameters" : [ "Reply-To" : new StringDataType(), "Cc" : new StringDataType(), "Bcc" : new StringDataType(), "From" : new StringDataType(), "To" : new StringDataType(), "Body" : new StringDataType(), "Attachments" : new StringDataType(), "Subject" : new StringDataType(), "Debug" : new StringDataType(), "Template" : new StringDataType() ] ], [ "name" : "Rest", "displayName" : "Rest", "category" : "jbpm-workitems-rest", "description" : "", "defaultHandler" : "mvel: new org.jbpm.process.workitem.rest.RESTWorkItemHandler()", "documentation" : "jbpm-workitems-rest/index.html", "icon" : "Rest.png", "parameters" : [ "ConnectTimeout" : new StringDataType(), "ResultClass" : new StringDataType(), "ContentType" : new StringDataType(), "AcceptCharset" : new StringDataType(), "Headers" : new StringDataType(), "AuthUrl" : new StringDataType(), "Method" : new StringDataType(), "ReadTimeout" : new StringDataType(), "Url" : new StringDataType(), "ContentTypeCharset" : new StringDataType(), "HandleResponseErrors" : new StringDataType(), "ContentData" : new StringDataType(), "Username" : new StringDataType(), "Content" : new StringDataType(), "AcceptHeader" : new StringDataType(), "AuthType" : new StringDataType(), "Password" : new StringDataType() ], "results" : [ "Result" : new StringDataType() ] ], [ "name" : "WebService", "displayName" : "WebService", "category" : "jbpm-workitems-webservice", "description" : "", "defaultHandler" : "mvel: new org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler()", "documentation" : "jbpm-workitems-webservice/index.html", "icon" : "WebService.png", "parameters" : [ "Endpoint" : new StringDataType(), "Mode" : new StringDataType(), "Parameter" : new StringDataType(), "Operation" : new StringDataType(), "Url" : new StringDataType(), "Namespace" : new StringDataType(), "Interface" : new StringDataType() ], "results" : [ "Result" : new StringDataType() ] ], [ "name" : "Log", "displayName" : "Log", "icon" : "defaultlogicon.gif", "parameters" : [ "Message" : new StringDataType() ] ], [ "name" : "Milestone", "displayName" : "Milestone", "category" : "Milestone", "icon" : "defaultmilestoneicon.png", "parameters" : [ "Condition" : new StringDataType() ] ] ]
- relates to
-
JBPM-9568 [Stunner] Case Definition - Wrong location of the default WID file
- Resolved