Create Folder Rule page

Description

Add a Share page for Folder Rule creation.

Activity

Show:
Bogdan Gabor
March 31, 2020, 2:19 AM
Edited

Looks like there is a problem with the communication between ACS and APS when we're trying to Run the newly created rule (check attached image, run-rules.png).

When Share runs the rule, ACS makes a call to /activiti-app/app/rest/process-instances

Activiti fails to validate request if the post body contains an empty values field, and returns the following response:

 {  "message": "Validation of form failed: Form field assignee is required, but no value was found",        "messageKey": "GENERAL.ERROR.BAD-REQUEST" }

 

The values field contains information as assignee.

This is a problem since, on the new Share Activiti connector we won't use the content and assignee form fields anymore, so we need to be able to run the process without them.From my point of view, there are two possibilities:

1. if values field is empty, avoid sending it into to /activiti-app/app/rest/process-instances endpoint, in Activiti Repo Connector (RemoteActivitiService::

startProcessInternal).

2. Fix Activiti's validation when the values is empty.

 

Tested with ACS 6.2.1-A1, APS 1.10, Repo connector 1.2

         

Done

Assignee

Unassigned

Reporter

Bogdan Gabor

Labels

None

Release Train

Paddington

Delivery Team

Team Apps1

Time remaining

0m

Sprint

None

Priority