Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有任何 EL 函数可以从 oozie 工作流程中的当前操作获取先前的操作名称。如果 EL 功能不可能,那怎么可能?
如果您需要它来获取错误消息,请使用 wf:lastErrorNode()
<kill name="kill"> <message> Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}] </message> </kill>
您可以使用 capture_output 标签在工作流中导航节点名称。但这仅限于 java 和 shell 操作。