Reg: Workflow - > requester is not a folder owner then it should go to Approval request

Community Alums
Not applicable

Hi Team,

 

If any one know how to implement in Workflow In my form i have dropdown multiple folder path urls once i will select every folder there is Owner so if end user is requested folder it should go to approval to folder Owner after approval only task should generate.

Suppose requested user is Folder Owner then no need approval skip the approval and task should generate .

 

can you help me how to implement this in Workflow.

 

Thanks you,

Bandi

1 ACCEPTED SOLUTION

Hi @Community Alums ,

 

You have to give owner field backend name

 

Thanks,

Danish

 

View solution in original post

3 REPLIES 3

Danish Bhairag2
Tera Sage
Tera Sage

Hi @Community Alums 

 

Here u can use "IF" activity from core in workflow where u can check something like this in advanced section

 

if(current.variables.owner == current.variables.requested_for){

return 'yes';

}else{

return 'no';

}

 

Please use appropriate backend name of the variables in above code.

If output is yes then no approval,if no then join the output of that to "approval" activity.

 

Thanks,

Danish

 

Community Alums
Not applicable

Hi Danish,

Search field is reference filed multiple folder related Urls is there each and every url/path open the folder path record is having owners name like that different folders different owners in this case  variable i have to give reference field backend variable ?

like 

if(current.variables.owner == current.variables.requested_for){

variables -> i have to give Search Folder <back end name>.u_owner  ?

i am correct plz correct me

Thank you

 

 

Hi @Community Alums ,

 

You have to give owner field backend name

 

Thanks,

Danish