Document State transitions Get allowed Document State transitions for an asset.The API will return next allowed document state transitions for the user identified by userID attribute JSONObject jsonResponse = ProfileService.getdocstateinfo(new String[] { assetPath }, userID, resourceResolver); LOG.debug("Profile service response: {} for asset: {}", jsonResponse, assetPath); JSONArray jsonArray = jsonResponse.getJSONObject(assetPath).getJSONArray(DOCSTATEJSON_ALLOWEDSTATES_KEY); for (int i = 0; i … Continue reading Code snippets – XML Add-On