You are here: Business Rules > Business Actions > Execute JavaScript > MongoDB Binds

MongoDB Binds

Business Actions and Business Conditions can use the following binds for the mongoDB integration.

Bind Name

Description

JSON Document

When used in a business action referenced from the 'Mongo delivery' plugin, the binding gives access to a JSON object for the data that has just been persisted.

MongoDB Context

Gives access to an object with the following methods:

getMongo() 

The MongoDB database via the com.mongodb.Mongo object. For more information, see http://api.mongodb.org/java/current/com/mongodb/Mongo.html.

getContext()
getContextID()
getRawDBName()

2017, Stibo Systems