+1
Answered

As part of our architecture framework for WareWolf development, I need to come up with a set of naming conventions for variables(inputs or outputs) in WareWolf workflows.

Logan Govender 10 years ago in Studio / Variables updated by Gandalf 9 years ago 2
Can you suggest a naming convention for WareWolf workflow variables(below are my thoughts):



-For input variables (eg . WorkflowName_In_Variablename)

-For output variables (eg . WorkflowName_Out_Variablename)

-For variables from other workflows that kick off other work flows (eg . WorkflowNameParent_WorkflowName_In_Variablename)

0
Answered

keywords

Paul Cannell 10 years ago in Studio / Variables updated by Gandalf 10 years ago 0
most languages have keywords / built in functions.
getdate() for SQL or DateTime.Now for c#
How can I get the current time when processing an activity/decision/etc
Also Im sure there are other common things Im going to want todo. Be great to have this somewhere
Answer
Gandalf 10 years ago
Hi Paul

Warewolf is a Flow based language. Think about a typical coded function being a workflow and each service or tool in that workflow being a line or action.

So, if you are after the time, we need to execute a tool to get the time into a variable and then use it.

There are a few ways to get the current system time:
1. The calculate tool has all the MS Excel funcitons so you can just tupe: now() and then put that result into a variable.
2. The Assign tool can act like a Calculate tool if you start the assign value with an = so you can just type: =now()
3. The Gather System Information Tool has a Date & Time option
4. Date and Time Tool: If you leave the Input blank and the Input format blank, by default the tool will return the current system time in the system format.

I hope I have answered your question.