Member since
08-09-2020
4
Posts
0
Kudos Received
0
Solutions
08-09-2020
11:03 AM
I have a custom variable in Updatedate processor( state = success), now i want to access those variable in my groovy script which is in invokescriptor processor. def status= flowFile.getAttribute('status') i tried below mentioned both syntax as well Attemp1: if( status.equals("success")){ // } Attemp 2: if(status == "success"){ } the above 2 attempts flowFile.getAttribute('status') returnning null value. Please correct my mistake!
... View more
Labels:
- Labels:
-
Apache NiFi