All Downloads are FREE. Search and download functionalities are using the official Maven repository.

plugin-webapp.acm-plugin.app.views.instance.tasksTab.js Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.1
Show newest version
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