- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-30-2025 06:35 PM
Hi everyone,
Has anyone used the setLastPromptToParameter command in a custom CPM plugin?
I'm currently building a plugin that needs to capture the output of one command and use it as input for another, as part of a password change workflow. Here's the flow I'm trying to implement:
I found documentation that mentions setLastPromptToParameter, which seems like it could capture the hash and store it for later use. However, there are no examples provided.
Has anyone successfully used this command in a plugin and could share an example or some guidance?
I’ve been stuck on this for a few days and would really appreciate any help!
Thanks in advance!
05-01-2025 01:28 AM
There's an example of usage in the Cisco Router cpm plugin
https://community.cyberark.com/marketplace/s/#a3550000000EiAUAA0-a3950000000jjSpAAI
05-01-2025 01:28 AM
There's an example of usage in the Cisco Router cpm plugin
https://community.cyberark.com/marketplace/s/#a3550000000EiAUAA0-a3950000000jjSpAAI
05-04-2025 11:33 AM
Yes, I am using that plugin as a reference.
Thank you!
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

