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

GlobalParams #566

Open
abib2 opened this issue Dec 22, 2023 · 1 comment
Open

GlobalParams #566

abib2 opened this issue Dec 22, 2023 · 1 comment

Comments

@abib2
Copy link

abib2 commented Dec 22, 2023

Dear Community,
i am really new to Rules Engine and now have a question.
Is it possible to create only named parameters that can be accessed for writing and reading during action execution .

For example:
My first action will be getting an auth_token from a rest api.
This token should be saved to a parameter variable so that it can be used in antoher action.
Then in the second action i want to call another rest api endpoint and send the correct token within the header informations.

Is this possible?
If yes, how do you solve such a topic?

Thanks. Bye Arne

@daxnet
Copy link

daxnet commented Jan 5, 2024

My guess is that you'll have to implement your own CustomAction, take the token as the input and invoke the API with attaching the token as the request header.

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

No branches or pull requests

2 participants