Table of Contents

Class BPMActivityVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("BPMActivity", 20240311)]
[AttTableProducts(new Products[] { Products.BPM })]
[AttTableFlags(new TableFlags[] { TableFlags.TableForJorge, TableFlags.NotUseHashTag, TableFlags.DisableRowCount })]
[AttTableOrderBy("[BPMActivity].[lordem]")]
[AttTableMaintenance(typeof(BPMActivityMaintenance))]
[AttTableVOInfo(typeof(BPMWorkflowAttInfo))]
public class BPMActivityVO : GenericVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<BPMInstanceVO>, IParent
Inheritance
BPMActivityVO

Properties

ActivatedFlows

public List<string> ActivatedFlows { get; set; }

Property Value

List<string>

CloseUserVO

Instance of UserVO, close user

[AttExternalCollection(typeof(UserVO), new string[] { "usstamp", "[BPMActivity].[usclose]" })]
public UserVO CloseUserVO { get; }

Property Value

UserVO

GetFieldStampName

Use only field name without table name

public override string GetFieldStampName { get; }

Property Value

string

GetStampValue

public override string GetStampValue { get; }

Property Value

string

OpenUserVO

Instance of UserVO, open user

[AttExternalCollection(typeof(UserVO), new string[] { "usstamp", "[BPMActivity].[usopen]" })]
public UserVO OpenUserVO { get; }

Property Value

UserVO

activitytype

Activity type

public BPMActivityTypes activitytype { get; set; }

Property Value

BPMActivityTypes

activitytypename

Activity type name

[AttLenght(60)]
[AttLocale(typeof(BPMWorkflowAttInfo), new string[] { "[BPMActivity].[activitytype]" })]
public string activitytypename { get; set; }

Property Value

string

bpmActivityUsers

[AttCollection(typeof(BPMActivityUserVO), new string[] { "[BPMActivityUser].[bpmactivitystamp]", "[BPMActivity].[bpmactivitystamp]" })]
public List<BPMActivityUserVO> bpmActivityUsers { get; set; }

Property Value

List<BPMActivityUserVO>

bpminstancestamp

Connection to BPMInstanceVO

[AttForeignKey(typeof(BPMInstanceVO))]
[AttLenght(25)]
[AttIndex]
public string bpminstancestamp { get; set; }

Property Value

string

closed

Close

[AttVirtualField(typeof(BPMWorkflowAttInfo))]
public bool closed { get; set; }

Property Value

bool

closeusername

Close user name

[AttLenght(60)]
[AttVirtualField(typeof(BPMWorkflowAttInfo))]
public string closeusername { get; set; }

Property Value

string

dclose

Close date

[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime dclose { get; set; }

Property Value

DateTime

description

Description

[AttFieldType(AttFieldType.InputTypes.memo)]
public string description { get; set; }

Property Value

string

dopen

Open date

[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime dopen { get; set; }

Property Value

DateTime

elementCode

Element user unique code

[AttLenght(30)]
public string elementCode { get; set; }

Property Value

string

elementid

Element Unique ID

public string elementid { get; set; }

Property Value

string

hclose

Close time

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time)]
public string hclose { get; set; }

Property Value

string

hopen

Open time

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time)]
public string hopen { get; set; }

Property Value

string

identification

Element identification

public string identification { get; set; }

Property Value

string

oldstatus

Old status save the status value before a new value is applied to BPMInstanceVO.status

[AttLenght(40)]
public string oldstatus { get; set; }

Property Value

string

openusername

Open user name

[AttLenght(60)]
[AttVirtualField(typeof(BPMWorkflowAttInfo))]
public string openusername { get; set; }

Property Value

string

phasetype

Phase type

public BPMPhasesTypes phasetype { get; set; }

Property Value

BPMPhasesTypes

phasetypename

Phase type name

[AttLenght(60)]
[AttLocale(typeof(BPMWorkflowAttInfo), new string[] { "[BPMActivity].[phasetype]" })]
public string phasetypename { get; set; }

Property Value

string

sourceId

Connection to BPMElement (Source)

public string sourceId { get; set; }

Property Value

string

sourceName

public string sourceName { get; set; }

Property Value

string

status

Status save the status value after a new value is applied to BPMInstanceVO.status

[AttLenght(40)]
public string status { get; set; }

Property Value

string

targetId

Connection to BPMElement (Target)

public string targetId { get; set; }

Property Value

string

targetName

public string targetName { get; set; }

Property Value

string

tasksstamp

Connection to TasksVO

[AttForeignKey(typeof(TasksVO))]
[AttLenght(25)]
public string tasksstamp { get; set; }

Property Value

string

usclose

Connection to UserVO, close user

[AttForeignKey(typeof(UserVO), HiddenField = false)]
[AttLenght(25)]
public string usclose { get; set; }

Property Value

string

usopen

Connection to UserVO, open user

[AttForeignKey(typeof(UserVO), HiddenField = false)]
[AttLenght(25)]
public string usopen { get; set; }

Property Value

string

usstamp

Connection to UserVO, assignment user

[AttForeignKey(typeof(UserVO), HiddenField = false)]
[AttLenght(25)]
public string usstamp { get; set; }

Property Value

string

variables

[AttCollection(typeof(BPMValueVO), new string[] { "[BPMValue].[ownerstamp]", "[BPMActivity].[bpmactivitystamp]" })]
public List<BPMValueVO> variables { get; set; }

Property Value

List<BPMValueVO>

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

ToString()

public string ToString()

Returns

string

Explicit Interface Implementations

ParentVO

BPMInstanceVO ParentVO { get; set; }

Returns

BPMInstanceVO

bpmactivitystamp

Unique ID

[AttLenght(25)]
string bpmactivitystamp { get; set; }

Returns

string

lordem

Order

[AttLenght(10)]
[AttHidden]
[AttIndex]
decimal lordem { get; set; }

Returns

decimal

previousLineID

Previous line id

[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }

Returns

string