Forum Discussion

JShoemaker's avatar
JShoemaker
New Contributor III
2 years ago

Workflow Time in Email

We are currently using something like this to pull in the Global Time on the email we send out after the automation

Dim gTime As String = BRApi.Workflow.General.GetGlobalTime(si) 

This works just fine, however we would like to also have the option to load by wf which works we just cant get the wf time to show up on the email. I cant find the syntax like I did Global Time

Thoughts? Thanks!

  • Hi all, we found the answer on snippets. Wanted to keep this out here just in case anyone needs it...

    Dim gTime As String = BRApi.Finance.Time.GetNameFromID(si), myworkflowUnitPk.TimeKey

  • JShoemaker's avatar
    JShoemaker
    New Contributor III

    Hi all, we found the answer on snippets. Wanted to keep this out here just in case anyone needs it...

    Dim gTime As String = BRApi.Finance.Time.GetNameFromID(si), myworkflowUnitPk.TimeKey