Dropbox path split returns “empty” in Set Variable module

:bullseye: What is your goal?

I want to extract the client name from a Dropbox file path like this:
/clienti_blenderfordental/ClienteTest/inbox/file.stl
and send it to Todoist as part of a task description.

:thinking: What is the problem?

Everything works except the variable for the client name.
I use the formula {{get(split(12.path_lower; “/”); 2)}} but the output is always “empty”.

:test_tube: What have you tried so far?

  • Tried with path_display and path_lower
  • Tried different index numbers in the split (1, 2, 3)
  • Rebuilt the scenario
  • Tested with Text Aggregator and Text Parser (same result)

:camera_with_flash: Screenshots: scenario setup, module configuration, errors


Hi @Roberto_Pegoraro - just remove the quotation marks around the split character in your formula, Make’s formulas don’t require them for strings like that. i.e. Currently your formula is searching for "/” instead of / so it returns empty.

You’ll also likely need to change your get() formula to return the 2nd value rather than 3rd because it doesn’t use a 0-index.

Cheers!

1 Like

Thanks so much for the suggestion. Now everything works perfectly