The task xxx is of a type that requires a subject (such modify, multi-modify, delete), but a subject has not been provided
search cancel

The task xxx is of a type that requires a subject (such modify, multi-modify, delete), but a subject has not been provided

book

Article ID: 230480

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Portal

Issue/Introduction

I have a module in the Portal that is dedicated to create business roles in the user store - For a selected user – a new entry is created in an external table.

The IM task behind this logic is of Modify user – user is searched and then some code is calculating which data is to be written to the new table.

In the Portal, the task / form is association with the Create action – because the new entries are considered create.

When testing this module in the new environment (14.3) it results in an error in server.log (Error: Message: The task xxx is of a type that requires a subject (such modify, multi-modify, delete), but a subject has not been provided).

The exact same combination works perfectly when associated with the Modify action.

I would like to know why it used to work in an older version (14.1) and does not work in the new version (14.3).

 

Environment

Release : 14.3

Component : SIGMA-Identity Suite

Resolution

The task execution implementation changed between 14.1 and 14.2 onwards.

Since 14.2, we are supporting exact matches between Task action types like 'Create' action module and 'Create' in IM.  

There is a design reason behind it - for Modify/Delete actions, there would be a target user, but not for 'Create' action.