Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Getting the application ID when running a workflow from Hue

Getting the application ID when running a workflow from Hue

New Contributor

Hello, 

 

I'm trying to get the application Id from the Hue workflow in an Email action after executing a Sparkk job, the following ${wf:actionExternalId(wf:lastErrorNode())} gives me the job_id but this id is not the same as the application ID.

If I execute the following ${wf:errorMessage(wf:lastErrorNode())}, I'm seeing the applicationID in the error message (Action failed, error message[Application application_1477693986321_446998 finished with failed status]), but cannot execute any function to extract that value. 

 

Is there any way to get the applicationID? 

 

Thanks in advance.

Don't have an account?
Coming from Hortonworks? Activate your account here