Trouble with a workflow trigger. My users ne...

expressions
(Twenty West KC) #1

Trouble with a workflow trigger.

My users need the option to print a safety sheet for certain products when they make their entries. I have a workflow set up to send an email to them of the safety sheet under the right conditions. Currently my condition expression is:

AND([Print Safety Sheet?]=TRUE, [Product Code]=“C-1104”)

I’m getting the green light from Appsheet with this syntax, but when I enter a product that is “C-1104” and I set [Print Safety Sheet?] to Y, nothing happens. Am I missing something?

(Dinh Nguyen Nguyen) #2

@Twenty_West_KC Is the [Print Safety Sheet?] a Yes/No column?

(Twenty West KC) #3

@Harry Yes it is

(Dinh Nguyen Nguyen) #4

@Twenty_West_KC If the [Print Safety Sheet?] column is a Yes/No column, then the slice condition should work if you compare the column value to TRUE/FALSE.

This means that it is possible that the second slice condition is not working properly. To test this, you can click on the “Test” button in the expression builder of the slice condition. Perhaps there’s actually an extra space in "C-1104 "?

(Philip Garrett) #5

@Twenty_West_KC

What does the Audit History contain regarding the workflow rule?

(Twenty West KC) #6

Looks like I just had an extra space in the syntax. Thanks for the help!

(Philip Garrett) #7

@Twenty_West_KC

Glad you got it working.