call(action, args)

This method calls one of the available AssessmentHelperFunction actions and passes arguments to that action.

Signature

public Object call(String action, Map<String, Object> args)

Parameters

action
Type: String
The action to call. The only action is deleteAssessmentResponses.
  • deleteAssessmentResponses — Deletes the Assessment object with the specified Assessment ID along with all the related assessment responses.
args
Type: Map<String, Object>
The arguments passed to the corresponding action. All actions require input, output, and options arguments, but these arguments can be empty if the action doesn’t use them. Values listed here are for the input argument.
  • deleteAssessmentResponses — Accepts an AssessmentId.

Return Value

Type: Map<String, Object>

The return values of the corresponding action, returned in the output argument.

  • deleteAssessmentResponses — Returns null.

Usage

To use this method in an Integration Procedure, specify the class in the Remote Class property, the action in the Remote Method property, and the arguments in the Additional Input property.