The following attributes can be added to any Action Object.
The cccFSFactoryActionExecuteTime attribute provides a way to set a deferral time on an action. The value for the attribute is an integer based on UNIX time, which is calculated as the number of seconds since midnight UTC of January 1, 1970.
Attribute |
Value |
Details |
---|---|---|
cccFSFactoryActionExecuteTime (IN) |
0 to 231 -1 |
This follows the UNIX time _t standard, indicating the number of seconds since midnight UTC Jan. 1, 1970. |
The cccFSFactoryActionResult attribute is set to Success if it is successful; otherwise, an error message displays.
NOTE:The current release does not provide a mechanism for using human readable time-date stamps.
One helpful site for converting time to UNIX time format is found at the Time Stamp Generator Web sitehttp://www.timestampgenerator.com.
To set a CreateDir action to take place on February 1, 2009 at 7 pm EST (Eastern Standard Time), the corresponding value for the scheduling attribute is 1233532800.
#Example LDIF for CreateDir Action Object with deferred time version: 1 dn: cn=createdirtest,ou=actionObjects,o=org changetype: add objectClass: cccFSFactoryAction cccFSFactoryActionPath1: cn=SERVER1_VOL1,o=org#0#/path1 cccFSFactoryActionExecuteTime: 1233532800 cccFSFactoryActionOperation: CreateDir cccFSFactoryActionTrigger: Ready
The cccFSFactoryActionLinkNext attribute sets the next Action Object to process after the current one.
If the attribute is present, the Engine tries to process any valid <NextAction> tags.
If the value of <Process> is set to anything other than 0, the attribute is left alone. This is useful for cases where an external system such as Novell Identity Manager will drive the triggering of the next linked action.
The following example shows how to link a CreateDir action to a SetTrustee action that follows it:
#Example LDIF for CreateDir Action Object with deferred time version: 1 dn: cn=createdir-1,ou=actions,o=org changetype: add objectClass: cccFSFactoryAction cccFSFactoryActionPath1: cn=SERVER1_VOL1,o=org#0#/path1 cccFSFactoryActionLinkNext: <Link><Process>0</Process> <NextAction>cn=trustee-1,ou=actions,o=org</NextAction> </Link> cccFSFactoryActionOperation: CreateDir cccFSFactoryActionTrigger: Ready dn: cn=settrustee-1,ou=actions,o=org changetype: add objectClass: cccFSFactoryAction cccFSFactoryActionPath1: cn=SERVER1_VOL1,ou=resources,o=org# 0#/path1/subpath1 cccFSFactoryActionOperation: SetTrustee cccFSFactoryActionOption: RF cccFSFactoryActionTarget: user1.hq.org
NOTE:Only the first action in the sequence should have the cccFSFactoryActionTrigger attribute set to Ready.
The cccFSFactoryActionCleanup attribute specifies whether the Action Object should be deleted from eDirectory after processing for it has completed.
NOTE:Once the Engine has verified the trigger on an Action Object, it is eligible for automatic cleanup regardless of whether the defined action is successful or not.
#Example LDIF for CreateDir Action Object with cleanup version: 1 dn: cn=createdir-1,ou=actions,o=org changetype: add objectClass: cccFSFactoryAction cccFSFactoryActionPath1: cn=SERVER1_VOL1,o=org#0#/path1 cccFSFactoryActionCleanup: System cccFSFactoryActionOperation: CreateDir cccFSFactoryActionTrigger: Ready