Skip to main content

I am attempting to auto approve absence requests in IFS. When a absence request comes in it is set to “Confirmed” status. I would like for it to be changed to “Approved”. I set the “Selection” parameter that is required to change the absence request state to approved, but it seems like it is not accepting the “keyref” key for the selection value. To verify I concatenated my own “KeyRef” value that matches “keyref” shown in the screenshot below. Still I receive json invalid error message. Do you think I should raise a ticket with IFS support for this? How do you pass the keyref as the selection parameter?

 

Dev tool capture of approved holiday request (absence request)

ERROR in Workflow when passing my own concatenated KeyRef value matching keyref:

 

java.sql.SQLException: OR

A-40441: JSON syntax error ORA-06512: at "SYS.JDOM_T", line 4 ORA

-06512: at "SYS.JSON_ARRAY_T", line 102 ORA-06512: at "IFSAPP.ABS

ENCE_MANAGER_HANDLING_SVC", line 13795 ORA-06512: at "IFSAPP.ABSE

NCE_MANAGER_HANDLING_SVC", line 4749 ORA-06512: at line 2

 

 

Hi,

Just curious… why would you need absence requests if you “auto approve” them?

Then you could just as well let employees enter the absence directly?

Regards,

Maria

 


Hi,

Just curious… why would you need absence requests if you “auto approve” them?

Then you could just as well let employees enter the absence directly?

Regards,

Maria

 

The absence requests come in through our REST API integration to submit PTO through HolidayRequests. I wasn’t aware there is a way to directly add the absence bypassing the registration process. How can that be done? 


Can 
https://meco-cfg.ifs.cloud/main/ifsapplications/projection/v1/AbsenceManagerHandling.svc/HolidayPlans 

be used instead of

 https://meco-cfg.ifs.cloud/main/ifsapplications/projection/v1/AbsenceManagerHandling.svc/HolidayRequests 

to directly add the PTO to the calendar for the employee?


Hi,

 

Holiday plans is the step before HolidayRequests - it can’t create absence.

If it comes from another system I guess it is already handled and approved there so I would enter it directly to Absence 

 

 

Hope that helps :-)

Regards,

Maria


Hi,

 

Holiday plans is the step before HolidayRequests - it can’t create absence.

If it comes from another system I guess it is already handled and approved there so I would enter it directly to Absence 

 

 

Hope that helps :-)

Regards,

Maria

Directly registering the absence as opposed to planning or requesting the absence works. Thank you!


Reply