Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data selector developer_app.apiProducts.value is not available in Rules action for Update app #1086

Open
sathyaprakash-mind opened this issue Sep 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@sathyaprakash-mind
Copy link

Is your feature request related to a problem? Please describe.

In rules module, the data selector developer_app.apiProducts.value is not available for update app. It is only available for new app creation using setInitialApiProducts().
Basically, I want to trigger an email with the api products selected when we create new app or update the existing app using the rules actions. Currently, I am getting the values for {{developer_app.apiProducts.value}} only on the new app creation. For the update app, the token {{developer_app.apiProducts.value}} is not working. It is not giving the desired output instead the data selector is getting printed as it is.

Describe the solution you would like

The data selector {{developer_app.apiProducts.value}} should be made available for Update app functionality as well. When the existing app is updated, the email should include the value of the api products selected in the update app form.

Describe alternatives you have considered

Can you please suggest the alternative ways like how to get the api products selected in the app update form in the rules action under the data selector developer_app.apiProducts.value?

Additional context

Add any other context or screenshots about the feature request here.
image

@sathyaprakash-mind sathyaprakash-mind added the enhancement New feature or request label Sep 27, 2024
@kedarkhaire
Copy link
Collaborator

Hi @sathyaprakash-mind
Thanks for bringing this to our attention. Can you please share more details, like the PHP, Drupal, Apigee modules & rules version you are using.

It will be helpful if you can share the composer show output.

Also I am considering that you are using rules module to set a email trigger on update & creation of App. On creation it works fine and only on update you don't get the desired value.

Do let us know, if my understanding is correct and also do share the above mentioned details.

Thanks!

@sathyaprakash-mind
Copy link
Author

Hi @kedarkhaire,
You are right. I am using the rules module to set a email trigger for both update and creattion of App. It is working only for App creation and it is not working for App update.
Could you please let me know the way to make it work for Update App also?

Below are the versions we are using:
PHP - 8.1.17
Drupal - 9.4.8
Apigee_edge - 2.1.4
Rules - 3.0.0-alpha8

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants