-
Bug Report
-
Resolution: Cannot Reproduce
-
L3 - Default
-
None
-
7.8.13
-
None
-
BPMN
@RunWith(SpringRunner.class)
@ContextConfiguration(locations = "/applicationContext_forNetworkSlicing.xml")
public class ProcessServiceInstantiationFeasibilitySuccessTest {
@Autowired
private RuntimeService runtimeService;
@Autowired
@Rule
public ProcessEngineRule processEngineRule;
@Test
@Deployment(resources =
)
public void serviceInstantiationFeasibilitySuccess() {
// given
BpmnAwareTests.init(processEngineRule.getProcessEngine());
Map<String, Object> variables = new HashMap<>();
variables.put("id","42");
variables.put("href","http://serverlocation:port/orderManagement/serviceOrder/42");
// when
ProcessInstance instance = runtimeService
.startProcessInstanceByKey("ProcessServiceInstantiationFeasibility", "businessKey", variables);
TaskService taskService = processEngineRule.getTaskService();
Task task = taskService.createTaskQuery().singleResult();
assertEquals("Validate Incoming Request", task.getName());
Here task is null always. Why?