Get Started with Redwood for Oracle Cloud HCM Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
Using Greater Than condition in RTF template
Summary:
Content (required):
Hi,
I'm trying to use the following in an RTF template to select between two blocks of text.
<?choose:?>
<?when:CONTRACT_LENGTH_DAYS>=‘90’?><?call:Conditional_BlockA?><?end when?>
<?when:CONTRACT_LENGTH_DAYS<‘90’?><?call:Conditional_BlockB?><?end when?>
<?end choose?>
The value of CONTRACT_LENGHT_DAYS in the sample XML (exported from Fusion) is 394.
The above returns Conditional_BlockB which is not what I want.
By manually editing the value in the XML it seems the above logic only works while the CONTRACT_LENGTH_DAYS value is 99 or less.
My guess is I'm missing some kind of formatting/padding, assuming this is even possible within RTF templating.
Tagged:
0