<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question What is the value of ${wf:user()} and where it is defined ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-the-value-of-wf-user-and-where-it-is-defined/m-p/100392#M13314</link>
    <description>&lt;P&gt;Q1. Need more clarification on below variable substitution, Is it $username who submits the workflow ?&lt;/P&gt;&lt;PRE&gt;HADOOP_USER_NAME=${wf:user()}
&lt;/PRE&gt;</description>
    <pubDate>Tue, 22 Dec 2015 15:52:33 GMT</pubDate>
    <dc:creator>KuldeepK</dc:creator>
    <dc:date>2015-12-22T15:52:33Z</dc:date>
    <item>
      <title>What is the value of ${wf:user()} and where it is defined ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-the-value-of-wf-user-and-where-it-is-defined/m-p/100392#M13314</link>
      <description>&lt;P&gt;Q1. Need more clarification on below variable substitution, Is it $username who submits the workflow ?&lt;/P&gt;&lt;PRE&gt;HADOOP_USER_NAME=${wf:user()}
&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Dec 2015 15:52:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-the-value-of-wf-user-and-where-it-is-defined/m-p/100392#M13314</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2015-12-22T15:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: What is the value of ${wf:user()} and where it is defined ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-the-value-of-wf-user-and-where-it-is-defined/m-p/100393#M13315</link>
      <description>&lt;P&gt;Yes, the name of the user that started the job or workflow will be available through this variable.&lt;/P&gt;&lt;P&gt;See this code partial: &lt;A href="https://github.com/apache/oozie/blob/master/core/src/main/java/org/apache/oozie/DagELFunctions.java#L180"&gt;https://github.com/apache/oozie/blob/master/core/s...&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;/**
 * Return the job owner user name.
 *
 * @return the job owner user name.
 */
public static String wf_user() {
    return getWorkflow().getUser();
}
&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Dec 2015 19:07:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-is-the-value-of-wf-user-and-where-it-is-defined/m-p/100393#M13315</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2015-12-22T19:07:32Z</dc:date>
    </item>
  </channel>
</rss>

