schedule icon indicating copy to clipboard operation
schedule copied to clipboard

Resource or condition is not working?

Open dokechin opened this issue 7 years ago • 0 comments

      // Define a set of tasks
    var testTasks = [
      {id: 1, duration: 60},
      {id: 2, duration: 30, dependsOn: [1], resources: ['A']},
      {id: 3, duration: 30, dependsOn: [1], resources: [['A','B']]}
    ];

    // Define a set of resources
    var testResources = [
      {id: 'A'},
      {id: 'B'}
    ];
    var testS = schedule.create(testTasks, testResources, null, new Date());

Task id3 need resource A or B. I want to be scheduled task id2 and id3 going simultaneously. But only resource A is used. Why?

dokechin avatar Oct 21 '17 11:10 dokechin