You should be able to use the adjustDate function in a workflow template to change the value of a date field for SAS Model Risk Management. However, the function might not work correctly when you use it in a workflow template, as shown in the following example:
When the problem occurs, you see an error similar to the following in the log file:
java.lang.IllegalArgumentException: x_originalTargetDt=functionExpression=AdjustDate(today(), 'day', 30)
at
com.sas.oprisk.server.workflow.WorkflowStatusBean.setField(WorkflowStatusBean.java:455)
SAS System | SAS Model Risk Management | Microsoft® Windows® for x64 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8 Enterprise 32-bit | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8 Enterprise x64 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8 Pro 32-bit | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8 Pro x64 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Enterprise 32-bit | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Enterprise x64 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Pro 32-bit | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Pro x64 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 10 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 R2 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 for x64 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 Datacenter | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 R2 Datacenter | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 R2 Std | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 Std | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2016 | 7.3 | | 9.4 TS1M5 | |
Windows 7 Enterprise 32 bit | 7.3 | | 9.4 TS1M5 | |
Windows 7 Enterprise x64 | 7.3 | | 9.4 TS1M5 | |
Windows 7 Home Premium 32 bit | 7.3 | | 9.4 TS1M5 | |
Windows 7 Home Premium x64 | 7.3 | | 9.4 TS1M5 | |
Windows 7 Professional 32 bit | 7.3 | | 9.4 TS1M5 | |
Windows 7 Professional x64 | 7.3 | | 9.4 TS1M5 | |
Windows 7 Ultimate 32 bit | 7.3 | | 9.4 TS1M5 | |
Windows 7 Ultimate x64 | 7.3 | | 9.4 TS1M5 | |
Linux for x64 | 7.3 | | 9.4 TS1M5 | |
SAS System | SAS Risk Governance Framework | Microsoft® Windows® for x64 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8 Enterprise 32-bit | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8 Enterprise x64 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8 Pro 32-bit | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8 Pro x64 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Enterprise 32-bit | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Enterprise x64 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Pro 32-bit | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 8.1 Pro x64 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows 10 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 R2 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2008 for x64 | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 Datacenter | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 R2 Datacenter | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 R2 Std | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2012 Std | 7.3 | | 9.4 TS1M5 | |
Microsoft Windows Server 2016 | 7.3 | | 9.4 TS1M5 | |
Windows 7 Enterprise 32 bit | 7.3 | | 9.4 TS1M5 | |
Windows 7 Enterprise x64 | 7.3 | | 9.4 TS1M5 | |
Windows 7 Home Premium 32 bit | 7.3 | | 9.4 TS1M5 | |
Windows 7 Home Premium x64 | 7.3 | | 9.4 TS1M5 | |
Windows 7 Professional 32 bit | 7.3 | | 9.4 TS1M5 | |
Windows 7 Professional x64 | 7.3 | | 9.4 TS1M5 | |
Windows 7 Ultimate 32 bit | 7.3 | | 9.4 TS1M5 | |
Windows 7 Ultimate x64 | 7.3 | | 9.4 TS1M5 | |
Linux for x64 | 7.3 | | 9.4 TS1M5 | |