342:
343: if (p_attributes is not null) then
344: i := p_attributes.FIRST;
345: while (i <= p_attributes.LAST) loop
346: wf_entity_mgr.put_attribute_value(p_entity_type,
347: p_entity_key_value,
348: p_attributes(i).getName(),
349: p_attributes(i).getValue());
350: i := p_attributes.NEXT(i);
348: p_attributes(i).getName(),
349: p_attributes(i).getValue());
350: i := p_attributes.NEXT(i);
351: end loop;
352: wf_entity_mgr.process_changes(p_entity_type,
353: p_entity_key_value,
354: p_source);
355: end if;
356: