-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] add workflow instance & definition additional operations
- Loading branch information
Showing
20 changed files
with
528 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...aModule.Application.Contracts/WorkflowDefinitions/WorkflowDefinitionDispatchRequestDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace Passingwind.Abp.ElsaModule.WorkflowDefinitions | ||
{ | ||
public class WorkflowDefinitionDispatchRequestDto | ||
{ | ||
public Guid? ActivityId { get; set; } | ||
[MaxLength(36)] | ||
public string CorrelationId { get; set; } | ||
[MaxLength(36)] | ||
public string ContextId { get; set; } | ||
public object Input { get; set; } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...saModule.Application.Contracts/WorkflowDefinitions/WorkflowDefinitionDispatchResultDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using System; | ||
|
||
namespace Passingwind.Abp.ElsaModule.WorkflowDefinitions | ||
{ | ||
public class WorkflowDefinitionDispatchResultDto | ||
{ | ||
public Guid WorkflowInstanceId { get; set; } | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...saModule.Application.Contracts/WorkflowDefinitions/WorkflowDefinitionExecuteRequestDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace Passingwind.Abp.ElsaModule.WorkflowDefinitions | ||
{ | ||
public class WorkflowDefinitionExecuteRequestDto | ||
{ | ||
public Guid? ActivityId { get; set; } | ||
[MaxLength(36)] | ||
public string CorrelationId { get; set; } | ||
[MaxLength(36)] | ||
public string ContextId { get; set; } | ||
public object Input { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
....ElsaModule.Application.Contracts/WorkflowInstances/WorkflowInstanceDispatchRequestDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
using Elsa.Models; | ||
|
||
namespace Passingwind.Abp.ElsaModule.WorkflowInstances | ||
{ | ||
public class WorkflowInstanceDispatchRequestDto | ||
{ | ||
public Guid? ActivityId { get; set; } | ||
public WorkflowInput Input { get; set; } | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...p.ElsaModule.Application.Contracts/WorkflowInstances/WorkflowInstanceExecuteRequestDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System; | ||
using Elsa.Models; | ||
|
||
namespace Passingwind.Abp.ElsaModule.WorkflowInstances | ||
{ | ||
public class WorkflowInstanceExecuteRequestDto | ||
{ | ||
public Guid? ActivityId { get; set; } | ||
public WorkflowInput Input { get; set; } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...Abp.ElsaModule.Application.Contracts/WorkflowInstances/WorkflowInstanceRetryRequestDto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Passingwind.Abp.ElsaModule.WorkflowInstances | ||
{ | ||
public class WorkflowInstanceRetryRequestDto | ||
{ | ||
public bool RunImmediately { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.