is there any document that define how to use custom keywords in source code working file?
The question behind that is the following:
Could we return as a keyword in the source code the requirement that is implemented using this code?
Thanks in advance,
to define custom keywords, you need to edit the policies via the Admin GUI.
You can find the details about how to do that in the AdminUserGuide.
Nevertheless, as far as I understand your question aims at the context between a source file and a workflow item.
IMHO there are two possible way, depending on the Version of Integrity you use.
I think it would be best if you discuss your option with PTC support, as it deeply depends on you local Integrity solution's implementation.
How to use change package ID in keywords ? Or can we add change package ID as a custom keyword ?