Page 1 of 1

metadata for preflight to disable/enable check

Posted: Tue Aug 13, 2019 7:33 am
by RytisT
Hi. I'm trying to make so there's a selection in Switch Client window, for some checks to be active or not based on what user has selected in metadata.

So let's say he marks to enable check for trim marks, and so a preflight would check for trim marks.

Problem is, it doesn't quite work that way for me. I have switch metadata set in such way: http://prntscr.com/orx6n1 (Data values are in Lithuanian, "Taip" = Yes, "Ne" = No.) So as far as I understand I should be selecting "Boolean" type of metadata in variable set? That's exactly what I'm trying to do: http://prntscr.com/orx71w - but it doesn't even spit out a sample value. Does this work only with "No-Yes list" metadata? ( http://prntscr.com/orx7fc )
can someone let me know what am I doing wrong here?

I just want for preflight to enable/disable checks based on what user has selected in metadata. Thanks.

Re: metadata for preflight to disable/enable check

Posted: Tue Aug 13, 2019 9:30 am
by freddyp
The principle is the following. Create a variable set and add a variable that reads the value from metadata, and add a variable that is rule based and that evaluates to true or false depending on the value of the first variable (if Taip then true, else if Ne then false). Create a preflight profile and add the checks that have to be done conditionally as action lists. Enable the use of variables for the action lists and link the toggle to the rule-based variable.

If you do not know about Smart Preflight and rule-based variables, then look at some of the videos on our learning platform: https://www.enfocus.com/en/learn?search=smart+preflight

Re: metadata for preflight to disable/enable check

Posted: Tue Aug 13, 2019 1:07 pm
by RytisT
freddyp wrote: Tue Aug 13, 2019 9:30 am The principle is the following. Create a variable set and add a variable that reads the value from metadata, and add a variable that is rule based and that evaluates to true or false depending on the value of the first variable (if Taip then true, else if Ne then false). Create a preflight profile and add the checks that have to be done conditionally as action lists. Enable the use of variables for the action lists and link the toggle to the rule-based variable.

If you do not know about Smart Preflight and rule-based variables, then look at some of the videos on our learning platform: https://www.enfocus.com/en/learn?search=smart+preflight
Thank you!