PublicAPI.Processes.WorkflowTaskBase.SetFactWorkLogHours ELMA API Documentation
Add fact time report, in hours
 
 
Syntax

public void SetFactWorkLogHours(
	TaskBase task,
	long hours,
	DateTime startDate,
	string comment
)

Parameters

task
Type: TaskBase
Task, by which time report is added. Object. Access path: PublicAPI.Processes.WorkflowTaskBase
hours
Type: System Int64
Time spent, in hours
startDate
Type: System DateTime
Start date
comment
Type: System String
Comment
Examples

When using this method, the current date will be set as the start date and the comment will not be added. See the function use case here
See Also