Interface ProcessInstanceCommentApi

    • Method Detail

      • createProcessInstanceComment

        ProcessInstanceComment createProcessInstanceComment​(ProcessInstanceCommentCreateRequest body)
        Create the ProcessInstanceComment Create the ProcessInstanceComment
        Parameters:
        body - The process instance (case) id and the comment content, in JSON (required)
        Returns:
        ProcessInstanceComment
      • searchProcessInstanceComments

        List<ProcessInstanceComment> searchProcessInstanceComments​(Integer p,
                                                                   Integer c,
                                                                   List<String> f,
                                                                   String o)
        Finds ProcessInstanceComments Finds ProcessInstanceComments with pagination params and filters - can order on `postDate` - can filter on `supervisor_id`,`user_id`,`processInstanceId` - You cannot use supervisor_id and user_id filter at the same time
        Parameters:
        p - index of the page to display (required)
        c - maximum number of elements to retrieve (required)
        f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)
        o - can order on attributes (optional)
        Returns:
        List<ProcessInstanceComment>
      • searchProcessInstanceComments

        List<ProcessInstanceComment> searchProcessInstanceComments​(Map<String,​Object> queryParams)
        Finds ProcessInstanceComments Finds ProcessInstanceComments with pagination params and filters - can order on `postDate` - can filter on `supervisor_id`,`user_id`,`processInstanceId` - You cannot use supervisor_id and user_id filter at the same time Note, this is equivalent to the other searchProcessInstanceComments method, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with the ProcessInstanceCommentApi.SearchProcessInstanceCommentsQueryParams class that allows for building up this map in a fluent style.
        Parameters:
        queryParams - Map of query parameters as name-value pairs

        The following elements may be specified in the query map:

        • p - index of the page to display (required)
        • c - maximum number of elements to retrieve (required)
        • f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional)
        • o - can order on attributes (optional)
        Returns:
        List<ProcessInstanceComment>