{{tag>Index Programmers_Reference Methods IProcess IProcess_Methods Resume}} ==== resume (IExecutionEngine, Object []) ==== public Object resume(IExecutionEngine engine, Object reply) throws SuspendProcessException, ExecutionException, AccessDeniedException; This method is called by the //**Aware IM**// framework when the process receives the reply from the service provider and gets resumed. ===Parameters=== |''engine''|the call back interface that allows the process to call services of //**Aware IM**//. See [[docs:3500:0300:0315|IExecutionEngine]] interface.| |''reply''|reply received from the service provider. This is the instance of the [[docs:3500:0300:0319|INotification]] object. The attributes of this notification can be used to check the specific values of the reply. For example, if a remote service of a service provider were called, the reply notification would have the attributes as defined by the service declaration exposed by the provider. If a process was resumed immediately after its suspension in order to commit the current transaction, the reply is null.| ===Returns=== should always return ''null''. ===Throws=== |''SuspendProcessException''|if one of the methods of the [[docs:3500:0300:0315|IExecutionEngine]] threw ''SuspendProcessException'' or if a process wants to commit the current transaction.| |''ExecutionException''|if something is wrong.| |''AccessDeniedException''|shouldn’t be thrown by the process component directly|