Add recipient to documentΒΆ

Note

You can find these scripts inside the folder pmis/STND_PMIS/test/console/example.
If you want to execute them, you can use the Jython Console from the devtool menu.

filename => ex30.py

docServ = Beans.documentService

doc = docServ.loadDocument('135401', 'encA13689')

print doc

docServ.addRecipient(doc, '11170480', 'TO')

print 'Script terminated!'