- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 12:55 PM - edited 10-25-2023 01:24 PM
Hi,
I have to check email body text values which we are getting from email in inbound action.
I'm getting values from email body text and I need to check whether newhire and managerid values are empty or not if that values are empty then do not trigger inbound action and if newhire and managerid values are available then trigger inbound action and create HR case.
Please find attached screenshot :
Can anyone please tell how to check this condition in attached inbound action to achieve that.
Regards,
Nivedita
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2023 11:16 AM
Hi,
I have used current.setAbortAction(true);
and it is working now.
Regards,
Nivedita

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2023 09:41 AM
Your current.update or insert may be outside of the if condition you are checking.
If you are doing a check here, you are closing the if loop. You also need a check of these variables before doing current.update/insert
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 02:41 AM
Hi,
I have added some condition in script and it is creating HR case but with empty values like opened for, subject person and short description is empty in that HR case.
Can anyone please help me to stop creating HR case when it does not satisfy condition.
Regards,
Nivedita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2023 11:16 AM
Hi,
I have used current.setAbortAction(true);
and it is working now.
Regards,
Nivedita