コミュニティ

Flexicapture - Workflow - stage - entry conditions

Hi,

 

So I'm having trouble understanding the script function in the worklfow setup > entry conditions:

 

Tis is my code example in c#

if(Document.HasWarnings){
    Result.CheckSucceeded = false;
    Result.DocumentComment = "Warnings " + Document.HasWarnings.ToString();

}

 

Basically I want to also filter documents with warnings to go into verification station.

 

Is there a sample script somewhere, because the help documentation seems a bit to short ....

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

2件のコメント

  • Avatar
    Permanently deleted user

    Use 'Result.CheckSucceeded = true' if you want the document to enter this stage and 'Result.CheckSucceeded = false' otherwise. You should really be using an IF-ELSE statement in this block because otherwise Result.CheckSucceeded will be undefined and the workflow won't know what to do with it.

    Also, you'll need to move the comment above the checksucceeded line 

    0
  • Avatar
    Permanently deleted user

    Did this resolve your issue?

    0

サインインしてコメントを残してください。