
plugin-webapp.acm-plugin.app.views.instance.tasksTab.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cockpit-acm-plugin Show documentation
Show all versions of cockpit-acm-plugin Show documentation
This plugin provides information about case definitions and case instances deployed into Camunda BPM. It seamless integrates into Cockpit in the same way, as the corresponding process definition/instance pages.
ngDefine('cockpit.plugin.acm-plugin.views', function(module) {
var TasksCtrl = [ '$scope', 'camundaService', function($scope, camundaService) {
'use strict';
// retrieve from parent scope
var caseData = $scope.caseData.newChild($scope);
caseData.observe([ 'tasks', function(tasks) {
$scope.tasks = tasks;
} ]);
} ];
module.config([ 'ViewsProvider', function(ViewsProvider) {
ViewsProvider.registerDefaultView('cockpit.caseInstance.runtime.tab', {
id : 'case-tasks-table',
label : 'User Tasks',
url : 'plugin://acm-plugin/static/app/views/instance/tasksTab.html',
controller : TasksCtrl,
priority : 10
});
} ]);
return module;
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy