Skip to content

Commit

Permalink
fix: change RunTask Payload to ActivityInput (#4343)
Browse files Browse the repository at this point in the history
  • Loading branch information
SydoxX authored Aug 23, 2023
1 parent 4a6872d commit e57d1e3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ public RunTask(IEventPublisher eventPublisher)
)]
public string TaskName { get; set; } = default!;

[ActivityOutput(Hint = "Any input to send along with the task to your application.")]
[ActivityInput(
Hint = "Any input to send along with the task to your application.",
SupportedSyntaxes = new[] { SyntaxNames.JavaScript, SyntaxNames.Liquid }
)]
public object? Payload { get; set; }

[ActivityOutput(Hint = "Any input that was received along with the task completion.")]
Expand Down

0 comments on commit e57d1e3

Please sign in to comment.