Hello all!
Is it possible to request cancel in a custom workflow using C#?
Please look at the example below.
namespace test_workflow
{
public class JustTesing: CodeActivity
{
protected override void Execute(CodeActivityContext executionContext)
{
if(boolean)
{
//do stuff
}
else
{
// I would like to cancel the workflow here so in the workflow history it will appear as canceled
}
}
}
}
Thank you!
*This post is locked for comments