Attachments in ES2
i'm working on big workflow , last major hurdle figure out.
i don't understand how attachments supposed work in es2. in es1 straight forward because attachments got saved list/document variable typically called 'attachlist'.
with es2, if same thing , set assignment steps input , output 'attachlist' attachment doubled on each subsequent assignment step. after additional research discover taskresult (which created variable named such) contains attachments in list there. unfortunately, contents of taskresult don't carry forward next assignment step.
so if use attachlist attachments doubled each time.
if use taskresult attachments arn't visible @ on next step.
i think question is:
how ensure attachments visable downstream assignments , allow new attachments added along way?
just figured out. seperate set step after each assignment:
expression:
/process_data/taskresult/object/attachmentlist
location:
/process_data/attachlist[1] you have use [1] reset attachlist variable otherwise appends attachments each time if duplicates. adobe, silly.
then in assignment/attachments set input = attachlist , output null.
in es1, set input/output same list. recall option let forward attachments next step. straight forward. seemed have taken step backwards on one. oh well.
More discussions in LiveCycle Workbench
adobe
Comments
Post a Comment