Filling slots with intents instead of entites using rasa 2.0 forms

forms:
 my_form:
  my_slot:
  - type: from_trigger_intent
    value: greet
    intent: greet

Can you also tell me if it is another way around it or not? Also how can we use tracker to get current intent when form is active?