Link a file uploaded and the file generated by a rule

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
aliiiiii
Member II

Link a file uploaded and the file generated by a rule

Hi,

i've actually a rule who generate a 2nd file when one is uploaded, i'm using api and it's working well

i'm looking for a way (using rule or not) to create a link between the original file and the one who is created using the rule, adding an aspect with a property or anything else i can use it later

if anyone has a clue Smiley Happy thanks

4 Replies
fegor
Established Member II

Re: Link a file uploaded and the file generated by a rule

Hi!

Do you can use javascript and createAssociation(target, assocType) in a rule, for example.

Regards.

aliiiiii
Member II

Re: Link a file uploaded and the file generated by a rule

thanks for answer i'm trying this solution but It's weird i was thinking to do this kind of script i only have to put it in Data Dictionary/scripts folder (there is already original scripts from the installation in there) but i can't find them, i find only one who is not even in that folder ... :

do i need to declare the script files somewhere ?

fegor
Established Member II

Re: Link a file uploaded and the file generated by a rule

Mmm, confirm your script file how javascript in mimetype.

aliiiiii
Member II

Re: Link a file uploaded and the file generated by a rule

yes that's it thanks Smiley Happy