activityService.logTextFlowStateUpdate(new TextFlowTargetStateEvent(
personId, versionId, documentId, null, new LocaleId("as"),
textFlowTargetId, ContentState.Approved,
ContentState.NeedReview));
activityService.onDocumentUploaded(new DocumentUploadedEvent(personId,
documentId, false, new LocaleId("as")));
List<Activity> activities =
activityService.findLatestActivitiesForContext(personId,
projectVersionId, 0, 5);