HR task and catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2023 03:25 AM
Hey all,
I have a mission that need's me to submit for user an HR task that contains a catalog item
after the user submit the form I want by workflow to check some variables and see if they are meet the requirements to continue. I could not find a way to catch the variables from the catalog item.
in the catalog item I have Checkbox, now I want to make if the checkbox is true the workflow continue and if not I will close the case.
the table that I'm working on is HR CASE
and this workflow is in the HR services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2023 03:38 AM
Hi @eyal abu hamad,
To find the catalog variable in workflow, you can use if condition activity or Run script activity
In IF condition activity
There is one field in the condition builder ie., variables if you select variables then select catalog item and then variable as shown below
In Run script activity
var test = current.variables.incident.getValue();
If my response helps you to resolve the issue close the question by Accepting solution and hit thumb icon. From Correct answers others will get benefited in future.
Regards,
T Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2023 05:23 AM
I cannot find the Variable filed.
the workflow is on the HR CASE table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2023 06:09 AM
also I got this error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2023 07:18 AM
Hi @eyal abu hamad
Try this in your script
var test = current.variables.checkbox_student_application;
gs.log(test);