-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
162 additions
and
28 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
13 changes: 0 additions & 13 deletions
13
...tivities/Indico.RPAActivities.Activities.Design/Designers/ListWithTimeoutDesigner.xaml.cs
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...gn/Designers/ListWithTimeoutDesigner.xaml → ...ners/MarkSubmissionRetrievedDesigner.xaml
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
13 changes: 13 additions & 0 deletions
13
.../Indico.RPAActivities.Activities.Design/Designers/MarkSubmissionRetrievedDesigner.xaml.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,13 @@ | ||
namespace Indico.RPAActivities.Activities.Design.Designers | ||
{ | ||
/// <summary> | ||
/// Interaction logic for MarkSubmissionRetrievedDesigner.xaml | ||
/// </summary> | ||
public partial class MarkSubmissionRetrievedDesigner | ||
{ | ||
public MarkSubmissionRetrievedDesigner() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
} |
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
37 changes: 37 additions & 0 deletions
37
Indico.RPAActivities/Indico.RPAActivities.Activities/Activities/MarkSubmissionRetrieved.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,37 @@ | ||
using System.Activities; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using Indico.RPAActivities.Activities.Activities; | ||
using Indico.RPAActivities.Activities.Properties; | ||
using Indico.UiPath.Shared.Activities.Localization; | ||
using IndicoV2.Submissions.Models; | ||
|
||
namespace Indico.RPAActivities.Activities | ||
{ | ||
[LocalizedDisplayName(nameof(Resources.MarkSubmissionRetrieved_DisplayName))] | ||
[LocalizedDescription(nameof(Resources.MarkSubmissionRetrieved_Description))] | ||
public class MarkSubmissionRetrieved : IndicoActivityBase<int, ISubmission> | ||
{ | ||
[LocalizedDisplayName(nameof(Resources.MarkSubmissionRetrieved_SubmissionID_DisplayName))] | ||
[LocalizedDescription(nameof(Resources.MarkSubmissionRetrieved_SubmissionID_Description))] | ||
[LocalizedCategory(nameof(Resources.Input_Category))] | ||
[RequiredArgument] | ||
public InArgument<int> SubmissionID { get; set; } | ||
|
||
[LocalizedDisplayName(nameof(Resources.MarkSubmissionRetrieved_Result_DisplayName))] | ||
[LocalizedDescription(nameof(Resources.MarkSubmissionRetrieved_Result_Description))] | ||
[LocalizedCategory(nameof(Resources.Output_Category))] | ||
public OutArgument<ISubmission> Result { get; set; } | ||
|
||
protected override int GetInputs(AsyncCodeActivityContext ctx) | ||
{ | ||
return (SubmissionID.Get(ctx)); | ||
} | ||
|
||
protected async override Task<ISubmission> ExecuteWithTimeout(int input, CancellationToken cancellationToken) => | ||
await Application.MarkSubmissionAsRetrieved(input, true, cancellationToken); | ||
|
||
protected override void SetResults(AsyncCodeActivityContext ctx, ISubmission output) => Result.Set(ctx, output); | ||
|
||
} | ||
} |
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
54 changes: 54 additions & 0 deletions
54
Indico.RPAActivities/Indico.RPAActivities.Activities/Properties/Resources.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Indico.UiPath.Shared.Activities.RuntimeSimple | ||
{ | ||
class TaskActivity | ||
{ | ||
} | ||
} |
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