Closed yannick-beot-sp closed 1 month ago
Hey @yannick-beot-sp, thanks for pointing this out. This was fixed in this commit: https://github.com/sailpoint-oss/api-specs/commit/4ea6ac0386b6ee8965bbe6d721f43237e580cecd#diff-7877df4cb4b9778ecdf952bc3608e64143d3f947d048b1e98392462b2f19e026
According to
idn/beta/schemas/TaskStatus.yaml
, task'scompletionStatus
can beSuccess
,Warning
,Error
,Terminated
,TempError
:However, in reality, the status are in uppercase:
For instance:
It is also the same for ERROR, WARNING, etc. Underlying generated code (for instance, typescript SDK is not doing a good job at comparing the values because, it is expecting "Success" instead of "SUCCESS" and it is not the same.
Therefore, the simple code below is not working as expected: