added test utl path with no changes per execute (#2555)
This commit is contained in:
parent
0169af3fe0
commit
cc7acb1790
|
|
@ -62,7 +62,7 @@ export class ElsaWorkflowTestPanel {
|
|||
this.workflowStarted = false;
|
||||
}
|
||||
|
||||
if (!this.message && message.activityId == this.workflowTestActivityId){
|
||||
if (!this.message){
|
||||
this.message = message;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -37,7 +37,8 @@ namespace Elsa.WorkflowTesting.Api.Endpoints
|
|||
public async Task<IActionResult> Handle([FromBody] WorkflowTestExecuteRequest request, CancellationToken cancellationToken = default)
|
||||
{
|
||||
var tenantId = await _tenantAccessor.GetTenantIdAsync(cancellationToken);
|
||||
var startableWorkflow = await _workflowLaunchpad.FindStartableWorkflowAsync(request.WorkflowDefinitionId!, request.Version, default, default, default, tenantId, cancellationToken);
|
||||
var testCorrelation = "test-" + request.WorkflowDefinitionId;
|
||||
var startableWorkflow = await _workflowLaunchpad.FindStartableWorkflowAsync(request.WorkflowDefinitionId!, request.Version, default, testCorrelation, default, tenantId, cancellationToken);
|
||||
|
||||
if (startableWorkflow == null)
|
||||
return NotFound();
|
||||
|
|
|
|||
Loading…
Reference in a new issue