Filenet - Get current date & Time in Filenet Workflow

968 Views Asked by At

I am using Default step Processor in Filenet(5.2.1) and I created a Data Field as "DueDate" of type Time and I initialized it to adddays(systemtime(),14) because I want DueDate to be set 2 weeks after by default. I want this Property to be displayed at Workflow Launch Page but its not working. I also tried to use F_StartTime but that did not work either. Can you please suggest any solution to get current date & Time Or only current date that can be displayed on Workflow Launch page?

FYI, I want DueDate to be displayed at WF Launch page because I want to give the ability to user to change the due date if he/she wants.

1

There are 1 best solutions below

4
On

Steps to get the custom date in launch screen

  1. Create a data field say Date. In the expression column, use adddays(systemtime(), 2)
  2. Add this field i.e. Date to the selected parameters on the Launch step.
  3. Validate and transfer the workflow
  4. When workflow is launched, you will see the Date field having future date value. Ex: If you launch the workflow @ 4/17/2019 10:50 AM, Date field will have value 4/19/2019 10:50 AM

Hope this helps.