Home > Business > Batch Load Content Into Workflow

Batch Load Content Into Workflow

A familiar solicit we frequently listen to is is to capability to kick-off criteria formed workflows from Batch Loader. Batch Loader lets you examine in considerable amounts of papers at once, but it uses a not similar service then the typical interface examine in. This other service bypasses the examine is to criteria workflow, so papers will always right away let go after being loaded. This is completed purposely to prevent incorrectly sending all of your lot installed papers in to a workflow routine that would be tough to correct.

But if you do intentionality wish to lot your papers in to workflow, there is a way to do that. Just not by the Batch Loader. Instead, you can use IdcCommand that will work in roughly the same way and need only a tiny change to the lot bucket file.

IdcCommand is a application on the server that allows you to book out service calls to UCM and govern them on the order line. So scarcely all you can do by the interface, you can do by IdcCommand. So in this case, we’ll book out the examine in actions.

If you take a elementary lot bucket file, it will look something like:

Action = insertdDocTitle=Springfield NewsdDocAuthor=sysadmindSecurityGroup=PublicdDocType=DocumentdInDate=10/25/10 9:58 AMprimaryFile=C:/Files/Springfield/news.doc<>dDocTitle=Springfield NotesdDocAuthor=sysadmindSecurityGroup=PublicdDocType=DocumentdInDate=10/25/10 9:58 AMprimaryFile=C:/Files/Springfield/notes.doc<>

Of march any access could have extra metadata such as xComments or other law metadata fields.

To change this in to a IdcCommand record that will examine in any item, simply increase this line to any report entry:

Which would look like:

IdcService=CHECKIN_NEWAction = insertdDocTitle=Springfield NewsdDocAuthor=sysadmindSecurityGroup=PublicdDocType=DocumentdInDate=10/25/10 9:58 AMprimaryFile=C:/Files/Springfield/news.doc<>IdcService=CHECKIN_NEWdDocTitle=Springfield NotesdDocAuthor=sysadmindSecurityGroup=PublicdDocType=DocumentdInDate=10/25/10 9:58 AMprimaryFile=C:/Files/Springfield/notes.doc<>

By executing the CHECKIN_NEW service, it’s only similar to using the typical examine in form for submitting the document. So it will go by the typical criteria workflow check.

To govern the script, it’s only similar to mission Batch Loader from the order line. You wish to go in to the /bin/ office and sort in:

C:oracleucmbin>IdcCommand -f batch.txt -u sysadmin -l idclog.txt -c server

And that’s it. If your checked in papers tie in your criteria workflows, they’ll then come in those workflows.

One premonition to note…when IdcCommand successfully checks in a file, it will eliminate the source report from the record system. If the examine in fails for a few reason, it will leave the record alone and log the error.

Hat tip to Oracle Consultant William Phelps for this tip.







Share and Enjoy :

  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • Add to favorites
  • Google Buzz
  • Live
  • MySpace
  • Orkut
  • PDF
  • RSS

Related Articles

No related posts were found, so here's a consolation prize: Video: Watch The Cadillac CTS-V Coupe Racecar Go Testing In Episode 4.

Recent Posts

   
Categories: Business Tags:

  1. No comments yet.