Image File Path issue


image

I want to pass path variable in attachment because that path have multiple images so how i do it

grafik

@yogitagaikwad2206,

Pass the attachmentCollection like this

{Path}

Thanks,
Ashok :slight_smile:

is it right because when i am run code it gives an error

We recommend highly to use Variablenames which will be different to any keywords, Classnames …

is working
grafik

And also is working:

@yogitagaikwad2206,

It’s because of your Assign activity. Remove that .ToString

Thanks,
Ashok :slight_smile:

image

again error is come

@yogitagaikwad2206,

Now pass simply the variable without {}

Thanks,
Ashok :slight_smile:

just do one thing: take a small break and come back. reread all answers as the working modelling is shared. we are sure you can finalize it in very little time

i tried but not working


we answered directly in the first Answer: AttachmentCollections

we had shared the full approach:

so ensure that everything is configured as shown and ensure that the variable datatype is a String Array

@yogitagaikwad2206

Output

Hope it helps!!

grafik
looks good and is also not complained by the compiler.

We dont know which other settings are to clean up as done during your research. E.g. open Attachments / Attach Files and clean up if it is needed

@yogitagaikwad2206,

Ok try this.

  1. Check variable datatype is IEnumerable<String> if not, update it.
  2. In Assign activity add .AsEnumerable at end.
  3. Pass the variable as it is to AttachmentsCollection property.

Thanks,
Ashok :slight_smile:

@yogitagaikwad2206

Did you got the solution??

No, i have try your solution but not work?

@yogitagaikwad2206

Can you show the error what you are getting after working with my solution.