Section contains description of Process " GetDate.process " .
Folder | Description |
---|---|
/PantherBW/ProcessDefinitions/BusinessLogic | The folder that contain the main procedures.... |
Name: Start
Description: The beginning of the process.
Input Parameters:
Name: End
Output Parameters:
Mapping table
Target | Source |
---|---|
/[WHEN]<$_error>/GetInformationResponse/ResultCode | -1 |
/[WHEN]<$_error>/GetInformationResponse/[IF]<$_error/ns:ErrorReport/StackTrace>/ResultMessage | $_error/ns:ErrorReport/StackTrace |
/[OTHERWISE]/GetInformationResponse/ResultCode | 0 |
/[OTHERWISE]/GetInformationResponse/[IF]<$SetDate/root/DateTime>/DateTime | $SetDate/root/DateTime |
Mapping tree
Mapping |
---|
[CHOOSE] [WHEN] < $_error > GetInformationResponse ResultCode = -1 [IF] < $_error/ns:ErrorReport/StackTrace > ResultMessage = $_error/ns:ErrorReport/StackTrace [OTHERWISE] GetInformationResponse ResultCode = 0 [IF] < $SetDate/root/DateTime > DateTime = $SetDate/root/DateTime |
Source code
Mapping |
---|
<xsl:choose xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pfx="http://www.tibco.com/schemas/pantherbw/PantherBW/ProcessDefinitions/Schema/Schema.xsd" xmlns:ns="http://www.tibco.com/pe/EngineTypes"> <xsl:when test="$_error"> <pfx:GetInformationResponse> <pfx:ResultCode> <xsl:value-of select="-1"/> </pfx:ResultCode> <xsl:if test="$_error/ns:ErrorReport/StackTrace"> <pfx:ResultMessage> <xsl:value-of select="$_error/ns:ErrorReport/StackTrace"/> </pfx:ResultMessage> </xsl:if> </pfx:GetInformationResponse> </xsl:when> <xsl:otherwise> <pfx:GetInformationResponse> <pfx:ResultCode> <xsl:value-of select="0"/> </pfx:ResultCode> <xsl:if test="$SetDate/root/DateTime"> <pfx:DateTime> <xsl:value-of select="$SetDate/root/DateTime"/> </pfx:DateTime> </xsl:if> </pfx:GetInformationResponse> </xsl:otherwise> </xsl:choose> |
Mapping table
Target | Source |
---|---|
/root/DateTime | current-date() |
Mapping tree
Mapping |
---|
root DateTime = current-date() |
Source code
Mapping |
---|
<root xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pfx="http://www.tibco.com/schemas/pantherbw/PantherBW/ProcessDefinitions/Schema/Schema.xsd" xmlns:ns="http://www.tibco.com/pe/EngineTypes"> <DateTime> <xsl:value-of select="current-date()"/> </DateTime> </root> |