I would like the automation to add a task when a file has a order suffix of .DS
I have the following but am not able to get it to work.
from System import *
from SoftPro.ClientModel import *
from SoftPro.Select.Client import *
from SoftPro.OrderTracking.Client.Orders import *
# Fail the condition if the Order Number does not end with DS
if Context.Suffix.endswith == 'DS'
I can't tell anything about your indentation in the code block. Please put you code between "code" tags (the editor button labelled "</>") and the condition wording so I can determine the context.