This topic has been locked.
4 replies Latest Post - 2013-11-29T17:57:23Z by jaybowen
Pinned topic How can I create a physical record within a workflow?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
I am looking for help creating a record from within a workflow in P8 RM V4.5.0. The on-line help says that there is a declareRecord method in the RM_Operations component queue, but I cannot find any examples. In particular, I need to create records for physical files (what RM calls "Marker Record" objects). The main problem I have is that the "Home Location" and "Location" properties are objects and I do not know how to pass these to the component. (The component has arrays for the property names and values to be set, but I can't figure out how to set two of the values to objects.)
Updated on 2012-10-25T21:36:54Z at 2012-10-25T21:36:54Z by SystemAdmin
Ankit816 2700034G3G1 Post
jaygo_b 2700057A4W2 Posts
SystemAdmin 110000D4XK40 PostsACCEPTED ANSWER
Re: How can I create a physical record within a workflow?2012-10-25T21:36:54Z in response to jaygo_bYou should be able to just do the regular declare() method from a container like RecordCategory and just pass in the PhysicalRecord class ("Markers"). You will still need to set all the required properties in the property object you are passing in. For the custom objects like Location and HomeLocation, you can obtain references to those objects using the standard FileNet API.
jaybowen 270002YP212 Posts