I am having issues to create “NORMALTASK” based on action and link with parent ticket ? Although IFS provided the option to create task but it is time consuming as user need to copy all information (Affected User, Task type, summary, description etc ) so I am trying to build a custom Action that will call a custom action script to create a normal task and attached with the parent ticket copying all parent tickets information.
In 11.4 version we do have a feature to create task but when I use my legacy script to create normal task passing event_type_enum="NORMALTASK" it gives me error “ERROR 808 Error encountered when creating new event: Exception: ComplexValidationException: A complex validation error has been detected by the application. Rule broken: mandatorySeedEvent, Related field: taskSeedEvent, Message: ??server.validation.errors.mandatorySeedEvent??. Status code: 400”. Legacy scripts works fine in creating incident and service request.
I tried setting the two variable taskLinkReasonId and taskSeedEvendID when creating task after reviewing IFS WIKI (https://wiki.axiossystems.com/assyst11-4Wiki/index.php/Integrations:assystREST_More_Examples#Example_1)but it does not work as well.
It throws exception “Error encountered when creating new event: Exception: InternalServerProxyException: The requested resource cannot be processed by the underlying application services.”.