Related Topics
Partition Class
This object represents a Partition.
When developing Form scripts (in the various callback methods such as BP_Event), you are automatically given an instance of the “current” Partition with the CurrentPartition variable.
Properties
PROPERTY NAME |
DATA TYPE |
DESCRIPTION |
---|---|---|
PID |
String |
The internal Partition ID |
Name |
String |
The name of this partition |
Description |
String |
The description of this partition |
Methods


This API will get a partition from either a name or ID. This is an overloaded method with the following possible declarations:
public static string GetPartitionID(bp BP, string PID)
public static Partition GetPartition(bp BP, string PartitionID)
public static Partition GetPartitionByID(bp BP, string PartitionID)
Parameters
BP: The bp environment.
PartitionID: The Name or ID of the partition to retrieve.
PID: String partition ID of the partition to retrieve.
Returns
Partition: Will return null if partition isn't found.
Example
var oPartition = Partition.GetPartition(bp, "PID");
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.