persist.setOnError(getOnError(element));
step = persist;
}
else if (sElement.equals("Sync"))
{
Sync sync = new Sync(sStepName);
sync.setSyncLink(m_helper.parse(XMLUtil.getReqStringAttr(element, "link"), false, activity.getFlow().getPosMap(), null, m_metadata.getGlobalEnvironment()));
sync.setSyncScript((Pair)m_helper.parse(m_helper.getElementValue(element), true, activity.getFlow().getPosMap(), null, m_metadata.getGlobalEnvironment()));
sync.setOnError(getOnError(element));
step = sync;
}
else if (sElement.equals("Send"))
{
Send send = new Send(sStepName);