Workflow access configuration - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

Access to workflows might need to be restricted if the user who is trying to access the data is not meant to view it. For example, an external contractor should not be able to see any transmittals that are not intended for his company. Access can be restricted by relating the user role to an object class and setting a condition on the relationship.

Objects attached to workflows are related to roles using the SPFClassDefRoleSplitCondition relationship. Conditions can be set on the SPFClassDefRoleSplitCondition relationship using another relationship, SPFRoleSplitConditionDef. A linked interface, ISPFRoleSplitCondition, is used to link the SPFClassDefRoleSplitCondition relationship with the condition. For example, if Obj1 is an object attached to a workflow and Obj2 is a user, then you can validate the user organization against the organization of the attached object with the condition: Obj1->SPFCXmtlExternalCompany_12.Name=Obj2->SPFUserOrganization_12.