Related Topics
User Custom Variables
These Custom Variables enable you to specify various user-related settings in Process Director.
This Custom Variable, when set to "true", will automatically create all new users as Day Pass users. The default value of this variable is "false". This variable is relevant only if you have the Day Passes license component.
Example
public override void SetSystemVars(BPLogix.WorkflowDirector.SDK.bp bp)
{
// Make all new users day pass users.
bp.Vars.DefaultNewUsersToDayPass = true;
}
If a user is in any of the groups specified by this variable, the user will be able to access the delegation administration page, even without the “User Admin” setting enabled in his user profile.
Example
public override void SetSystemVars(BPLogix.WorkflowDirector.SDK.bp bp)
{
bp.Vars.DelegationAdminGroups = "Delegation Users";
}
This variable enables you to control whether built-in users can ask Process Director to remember their session so they don’t have to log in each time they visit Process Director.
Example
public override void SetSystemVars(BPLogix.WorkflowDirector.SDK.bp bp)
{
// Allow users to use 'Remember Me' option
bp.Vars.fAllowLoginRememberMe = true;
}
This variable enables you to control whether built-in users can retrieve their passwords if they are forgotten. If set to true, a prompt will appear on the login page. Development systems that use the TestUserEmailAddress won't send password reset request email to the TestUserEmailAddress, but will, instead, send them to the requesting user.
Example
public override void SetSystemVars(BPLogix.WorkflowDirector.SDK.bp bp)
{
// Allow users to retrieve passwords
bp.Vars.fAllowRetrievePassword = true;
}
Users in groups are automatically added to a partition when the group is added to the partition. They are implicitly added through their group membership. This option, when set to "true" will prevent this implicit user addition, which means that users will have to be explicitly added to a partition to be part of it.
Example
public override void SetSystemVars(BPLogix.WorkflowDirector.SDK.bp bp)
{
//Disables adding users to a partition implicitly.
bp.Vars.fDisableImplicitPartitionGroupUsers= true;
}
This variable will, when set to "true", prevent a disabled user from being renamed and preventing a new GUID from being applied during an update/synchronization. The default value for this variable is "false".
Example
public override void SetSystemVars(BPLogix.WorkflowDirector.SDK.bp bp)
{
// Prevent disabled users from being renamed
bp.Vars.fDisableUserRenameOnDisable = true;
}
Setting this variable to true will, when shared delegation is enabled, display the next task to the delegate automatically, if the principal assignee of the current task is also the principal assignee of the next task. This variable is set to false by default.
Example
public override void SetSystemVars(BPLogix.WorkflowDirector.SDK.bp bp)
{
// Automatically display the next task to the delegate
bp.Vars.fSharedDelegationNextTask = true;
}
By default, users are allowed to delegate tasks to any other user. Setting this variable to “true” restricts the user's ability to set delegations, and limits delegations only to other users who belong to the same group as the delegating user.
Example
public override void SetSystemVars(BPLogix.WorkflowDirector.SDK.bp bp)
{
// Restrict delegation to the same group as delegator
bp.Vars.fTurnOnDelegationGroups = true;
}
This variable enables you to set the maximum number of seconds to elapse prior to automatically logging out a user for inactivity. Once the configured time limit expires, the user will be logged off, and will be forced to re-authenticate to access the system again.
Example
public override void SetSystemVars(BPLogix.WorkflowDirector.SDK.bp bp)
{
// This will set the maximum inactivity time to 2 hours.
bp.Vars.nUserInactivityTimeoutSecs = 60*60*2;
}
Documentation Feedback and Questions
If you notice some way that this document can be improved, we're happy to hear your suggestions. Similarly, if you can't find an answer you're looking for, ask it via feedback. Simply click on the button below to provide us with your feedback or ask a question. Please remember, though, that not every issue can be addressed through documentation. So, if you have a specific technical issue with Process Director, please open a support ticket.