Hi @basico ServiceNow Learning This question is in context with the "dynamic approvals through a workflow" video. My question is:- Suppose we have many more brands of a laptop and they are not constant they might increase or decrease with time, here it is mentioned limited number of brands(5-6). So how are we going to tackle that situation, writing 50-100 if else conditions doesn't make sense. So if possible please provide solution to my question. It will be good if you publish a video regarding the same.
:) In that case group approval or new brand table would would be created from where approves would be used accordingly. I will try to figure out scenarios for the same and post the video.
Is it possible to provide access to a particular User to Override the approval access? If in case primary user isn't available to approve the record, other user can override and approve it?
Yes, scenario is created for basic understanding. But for manager approval... we have to write the code as manager is only dynamic here.. rest is only for basics :)
Thanks for sharing such a useful video. I have a query. Do vendors who can approve need an approver_user role essentially?? What if I don't want to give them aprover_use role because of license limitation in servicenow?
Hello everyone, my case it's that depending on the location's variable, you have diffent approvers. I've used the same logic but it's not working. here the below script: answer = []; if(current.variables.u_location.getDisplayValue=="Dole") { answer.push('b6e3cb3ddb7237006c6d980adb961925'); } else if (current.variables.u_location.getDisplayValue=="Evron") { answer.push('9c72d43edb270700f4b8384c7c9619a9'); }
else if (current.variables.u_location.getDisplayValue=="Vendome") { answer.push('3590df9bdb3257806c6d980adb9619ee'); } else if (current.variables.u_location.getDisplayValue=="Sablé") { answer.push('9c72d43edb270700f4b8384c7c9619a9'); } else if (current.variables.u_location.getDisplayValue=="Pacy") { answer.push('17b4287adb6b43408c76f9c41d961949'); } else if (current.variables.u_location.getDisplayValue=="Mayenne") { answer.push('bf3945f2dbaf43408c76f9c41d96195c'); } else if (current.variables.u_location.getDisplayValue=="Lons") { answer.push('dd9b643edb6958d08c76f9c41d961949'); }
This video teaches me more than my seniors in my team teaches to me🤪😍
Hi @basico ServiceNow Learning
This question is in context with the "dynamic approvals through a workflow" video.
My question is:- Suppose we have many more brands of a laptop and they are not constant they might increase or decrease with time, here it is mentioned limited number of brands(5-6). So how are we going to tackle that situation, writing 50-100 if else conditions doesn't make sense.
So if possible please provide solution to my question. It will be good if you publish a video regarding the same.
:)
In that case group approval or new brand table would would be created from where approves would be used accordingly. I will try to figure out scenarios for the same and post the video.
Exactly I have requirement like this.
Beautiful explanation!
can't wait for another video!!!
Thanks all. Your videos have been really helpful to understand the development process. :-)
Thank you :)
Nicely explained.
the approval is being generated to inactive users as well. can skip for inactive users approval???
Very nice and good explanation... please try to upload restapi integration videos...
Playlist already have one video for the same. I will post more video on this topic in some time :)
Is it possible to provide access to a particular User to Override the approval access? If in case primary user isn't available to approve the record, other user can override and approve it?
just watched and it was fabulous . Plz make a Video on Variable Set
Thank you :)
Could you use a switch case statement instead?
Yes, scenario is created for basic understanding. But for manager approval... we have to write the code as manager is only dynamic here.. rest is only for basics :)
While trying to run the workflow, the approval activity is skipped & it is directly going to the catalog task. Any changes to be made?
Thank you so much sir!!!! i really appreciate your effort. thank you somuch
Thanks for sharing such a useful video. I have a query. Do vendors who can approve need an approver_user role essentially?? What if I don't want to give them aprover_use role because of license limitation in servicenow?
Thanks a lot....It works properly
how is abel tutor manager decided by service now ?
In User profile there is a option to add user's manager :)
Thank you so much..It is helping me a lot :)
Nice thanku so much
Most welcome 😊
@@BasicoServiceNowLearning you are doing a great job 🙏
Hello everyone, my case it's that depending on the location's variable, you have diffent approvers.
I've used the same logic but it's not working.
here the below script:
answer = [];
if(current.variables.u_location.getDisplayValue=="Dole")
{
answer.push('b6e3cb3ddb7237006c6d980adb961925');
}
else if (current.variables.u_location.getDisplayValue=="Evron")
{
answer.push('9c72d43edb270700f4b8384c7c9619a9');
}
else if (current.variables.u_location.getDisplayValue=="Vendome")
{
answer.push('3590df9bdb3257806c6d980adb9619ee');
}
else if (current.variables.u_location.getDisplayValue=="Sablé")
{
answer.push('9c72d43edb270700f4b8384c7c9619a9');
}
else if (current.variables.u_location.getDisplayValue=="Pacy")
{
answer.push('17b4287adb6b43408c76f9c41d961949');
}
else if (current.variables.u_location.getDisplayValue=="Mayenne")
{
answer.push('bf3945f2dbaf43408c76f9c41d96195c');
}
else if (current.variables.u_location.getDisplayValue=="Lons")
{
answer.push('dd9b643edb6958d08c76f9c41d961949');
}