rbollig Absent Member.
Absent Member.
163 views

Starting WoF with a parameter of type date fails


Hi all,
I am trying to start a workflow from a driver that among other
parameters has a parameter that is defined as date. So far I tested
different formats, but all I get is something like this:
{_Reason=Attempt to set value on Data item [fldDeleteDueDate] using
incorrect type; expecting [date] got [20160402081752000]..}.
Any idea what exact format is expected ?
Here are the ones I tried:
- Number of seconds since midnight, January 1, 1970 [!CTIME]
- Custom format yyyyMMddhhmmss
- Custom format yyyyMMddhhmmssSSS
- Language-specific FULL time format [!FULL.TIME]
- Language-specific LONG time format [!LONG.TIME]
All of these end in an error message similar to the above.

Any hint / idea / solution ?

Tia,
Rolf


--
rbollig
------------------------------------------------------------------------
rbollig's Profile: https://forums.netiq.com/member.php?userid=532
View this thread: https://forums.netiq.com/showthread.php?t=55641


Cheers, Rolf
Labels (1)
0 Likes
2 Replies
charakopidis Absent Member.
Absent Member.

Re: Starting WoF with a parameter of type date fails


Hi,

the expected date format for the workflow is:

yearMonthDayHourMinutesSecondsMilliseconds+ UTC-Timezone
or
yearMonthDayHourMinutesSecondsMilliseconds-UTC-Timezone

for example:

20160401130000000+0100
or
20160401130000000-0100


Regards

Zisis


--
charakopidis
------------------------------------------------------------------------
charakopidis's Profile: https://forums.netiq.com/member.php?userid=829
View this thread: https://forums.netiq.com/showthread.php?t=55641

0 Likes
rbollig Absent Member.
Absent Member.

Re: Starting WoF with a parameter of type date fails


Hi Zisis,
that did the trick.
Thanks !
Regards,
Rolf


--
rbollig
------------------------------------------------------------------------
rbollig's Profile: https://forums.netiq.com/member.php?userid=532
View this thread: https://forums.netiq.com/showthread.php?t=55641


Cheers, Rolf
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.