Correcting conditions - HxGN SDx - Update 63 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

The following predefined conditions fail to parse and should be corrected before they are used. The specific correction for each is in bold type.

It is recommended that all user-defined conditions be validated and corrected. See Validate conditions for more information.

Invalid end

Incorrect: Not INSTR(Obj->EDG_StepWorkflowItem.Interfaces, 'ISPFTransmittal')

Correct: Not INSTR(Obj->EDG_StepWorkflowItem.Interfaces, 'ISPFTransmittal')>0

Incorrect: (Obj1->SPFItemOwner_12.SPFLoginName = Env.UserName or instr (Env.OwningGroupsForUserInQueryConfig, Obj1->SPFItemOwningGroup_12.Name))

Correct: (Obj1->SPFItemOwner_12.SPFLoginName = Env.UserName or instr (Env.OwningGroupsForUserInQueryConfig, Obj1->SPFItemOwningGroup_12.Name) >0)

Mismatch on closing parentheses and needs any()

Incorrect: (Obj->SPFFileFileType_12.UID IN ('FT_dwg','FT_dgn','FT_dxf','FT_igr','FT_pid','FT_sha','FT_spe','FT_zyq')

Correct: Any(Obj->SPFFileFileType_12.UID) IN ('FT_dwg','FT_dgn','FT_dxf','FT_igr','FT_pid','FT_sha','FT_spe','FT_zyq')

Needs edge not relationship definition

Incorrect: Env.CREATECONFIGOBJ->SPFConfigurationConfigurationStatus.Name='Active'

Correct: Env.CREATECONFIGOBJ->SPFConfigurationConfigurationStatus_12.Name='Active'

Needs any() and invalid end

Incorrect: INSTR(obj->Realizes_12.Name, ''ISPFSubscribableItem'')

Correct: INSTR(ANY(obj->Realizes_12.Name), ''ISPFSubscribableItem'')>0

Needs any()

Incorrect: Obj->EDG_LatestVersion.SPFIsDocVersionCheckedOut=False and Obj->EDG_LatestVersion.SPFIsDocVersionSuperseded=False

Correct: Any(Obj->EDG_LatestVersion.SPFIsDocVersionCheckedOut)=False and Any(Obj->EDG_LatestVersion.SPFIsDocVersionSuperseded)=False

Incorrect: Obj->EDG_LatestVersion.SPFIsDocVersionCheckedOut=False and Obj->EDG_LatestVersion.SPFIsDocVersionSuperseded=False and Obj.SPFRevState='WORKING' and (Env.CREATECONFIGUID = Obj.Config or len(Obj.Config) = 0)

Correct: Any(Obj->EDG_LatestVersion.SPFIsDocVersionCheckedOut)=False and Any(Obj->EDG_LatestVersion.SPFIsDocVersionSuperseded)=False and Obj.SPFRevState='WORKING' and (Env.CREATECONFIGUID = Obj.Config or len(Obj.Config) = 0)